WordPress action hook

action_scheduler_pre_theme_init

Defined by Action Scheduler and fired by 123 plugins in total, running on 11.1M+ sites between them.

How to use action_scheduler_pre_theme_init

It's an action: your callback runs at that point. Nothing needs to be returned. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_action( 'action_scheduler_pre_theme_init', function() {
	// Your code runs here.
}, 10, 1 );

Argument names come from WooCommerce's source. Other plugins may pass different values: check the call in the plugin you're targeting below.

123 plugins that fire action_scheduler_pre_theme_init

Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.

  1. WooCommerce icon WooCommerce7+ million installs do_action( 'action_scheduler_pre_theme_init' ) packages/action-scheduler/action-scheduler.php:67
  2. Imagify Image Optimization: Optimize Images icon Imagify Image Optimization: Optimize Images900,000+ installs do_action( 'action_scheduler_pre_theme_init' ) inc/Dependencies/ActionScheduler/action-scheduler.php:67
  3. Fluent Forms icon Fluent Forms800,000+ installs do_action( 'action_scheduler_pre_theme_init' ) app/Services/Libraries/action-scheduler/action-scheduler.php:67
  4. Forminator Forms icon Forminator Forms600,000+ installs do_action( 'action_scheduler_pre_theme_init' ) library/lib/action-scheduler/action-scheduler.php:67
  5. SureForms icon SureForms500,000+ installs do_action( 'action_scheduler_pre_theme_init' ) inc/lib/action-scheduler/action-scheduler.php:67
  6. Ultimate Member icon Ultimate Member200,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/lib/action-scheduler/action-scheduler.php:67
  7. CartFlows icon CartFlows200,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:65
  8. UserFeedback icon UserFeedback200,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/lib/action-scheduler/action-scheduler.php:67
  9. Modula Image Gallery icon Modula Image Gallery100,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:67
  10. FooGallery Photo Gallery : Image, Video & Masonry Galleries icon FooGallery Photo Gallery : Image, Video & Masonry Galleries100,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  11. WP Umbrella: Security Backup Restore & Monitoring icon WP Umbrella: Security Backup Restore & Monitoring90,000+ installs do_action( 'action_scheduler_pre_theme_init' ) thirds/action-scheduler/action-scheduler.php:67
  12. Import and export users and customers icon Import and export users and customers70,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  13. Site Reviews icon Site Reviews60,000+ installs do_action( 'action_scheduler_pre_theme_init' ) vendors/woocommerce/action-scheduler/action-scheduler.php:67
  14. Email Subscribers & Newsletters by Icegram Express icon Email Subscribers & Newsletters by Icegram Express50,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lite/includes/libraries/action-scheduler/action-scheduler.php:62
  15. Easy Digital Downloads icon Easy Digital Downloads40,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  16. Search & Replace Everything icon Search & Replace Everything20,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  17. Fluent Booking icon Fluent Booking20,000+ installs do_action( 'action_scheduler_pre_theme_init' ) boot/action_scheduler_loader.php:38
  18. Action Scheduler icon Action Scheduler20,000+ installs do_action( 'action_scheduler_pre_theme_init' ) action-scheduler.php:67
  19. FunnelKit Automations icon FunnelKit Automations20,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:39
  20. Paid Membership Subscriptions icon Paid Membership Subscriptions10,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:67
  21. URL Shortify icon URL Shortify10,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  22. SureContact icon SureContact10,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  23. Content Egg icon Content Egg10,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  24. FluentCart icon FluentCart10,000+ installs do_action( 'action_scheduler_pre_theme_init' ) boot/action_scheduler_loader.php:37
  25. Advanced Form Integration icon Advanced Form Integration9,000+ installs do_action( 'action_scheduler_pre_theme_init' ) library/action-scheduler/action-scheduler.php:67
  26. Stripe Payment Forms by WP Simple Pay icon Stripe Payment Forms by WP Simple Pay8,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/woocommerce/action-scheduler/action-scheduler.php:65
  27. WPScan icon WPScan8,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  28. Smart Image Resize for WooCommerce icon Smart Image Resize for WooCommerce7,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  29. Podcast Importer SecondLine icon Podcast Importer SecondLine4,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  30. ReCrawler icon ReCrawler4,000+ installs do_action( 'action_scheduler_pre_theme_init' ) vendor-prefixed/woocommerce/action-scheduler/action-scheduler.php:67
  31. Paymattic icon Paymattic3,000+ installs do_action( 'action_scheduler_pre_theme_init' ) app/Modules/ActionScheduler/ActionScheduler.php:45
  32. Powered Cache icon Powered Cache3,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/package/woocommerce/action-scheduler/action-scheduler.php:67
  33. Quill Forms icon Quill Forms3,000+ installs do_action( 'action_scheduler_pre_theme_init' ) dependencies/libraries/action-scheduler/action-scheduler.php:69
  34. Import Eventbrite Events icon Import Eventbrite Events3,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/iee-action-scheduler/action-scheduler/action-scheduler.php:71
  35. Pronamic Pay icon Pronamic Pay2,000+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:67
  36. Knit Pay icon Knit Pay2,000+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:67
  37. SureMembers icon SureMembers2,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  38. Mailrelay icon Mailrelay1,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  39. Auto YouTube Importer icon Auto YouTube Importer1,000+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  40. WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar icon WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar1,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/wpea-action-scheduler/action-scheduler/action-scheduler.php:69
  41. SureDash icon SureDash1,000+ installs do_action( 'action_scheduler_pre_theme_init' ) inc/lib/action-scheduler/action-scheduler.php:67
  42. Smart Online Order for Clover icon Smart Online Order for Clover1,000+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  43. Notification Master icon Notification Master1,000+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:67
  44. Image SEO icon Image SEO900+ installs do_action( 'action_scheduler_pre_theme_init' ) thirds/action-scheduler/action-scheduler.php:67
  45. WANotifier for Forms and Actions icon WANotifier for Forms and Actions900+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  46. Infinite Uploads icon Infinite Uploads800+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  47. Revive.so icon Revive.so600+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  48. ExpressTechSoftwares Discord Add-on for Paid Memberships Pro icon ExpressTechSoftwares Discord Add-on for Paid Memberships Pro600+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  49. IP Locator icon IP Locator500+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:67
  50. GatewayAPI icon GatewayAPI300+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  51. Logify WP icon Logify WP300+ installs do_action( 'action_scheduler_pre_theme_init' ) action-scheduler/action-scheduler.php:43
  52. Pronamic Pay with Mollie for Gravity Forms icon Pronamic Pay with Mollie for Gravity Forms300+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:67
  53. WordLift icon WordLift300+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:62
  54. Import Meetup Events icon Import Meetup Events300+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/ime-action-scheduler/action-scheduler/action-scheduler.php:67
  55. Push Notification for Post and BuddyPress icon Push Notification for Post and BuddyPress200+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:70
  56. WunderAutomation icon WunderAutomation200+ installs do_action( 'action_scheduler_pre_theme_init' ) src/action-scheduler/action-scheduler.php:62
  57. ExpressTechSoftwares Addon for MemberPress and Discord icon ExpressTechSoftwares Addon for MemberPress and Discord100+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:67
  58. Apimo Connector icon Apimo Connector100+ installs do_action( 'action_scheduler_pre_theme_init' ) action-scheduler/action-scheduler.php:71
  59. Limb AI Chatbot icon Limb AI Chatbot100+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/lib/action-scheduler/action-scheduler.php:67
  60. Pronamic Pay with Mollie for Contact Form 7 icon Pronamic Pay with Mollie for Contact Form 7100+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:68
  61. DoubleScale CRM icon DoubleScale CRM90+ installs do_action( 'action_scheduler_pre_theme_init' ) dependencies/libraries/action-scheduler/action-scheduler.php:67
  62. WebinarIgnition icon WebinarIgnition80+ installs do_action( 'action_scheduler_pre_theme_init' ) inc/lib/action-scheduler/action-scheduler.php:67
  63. Quill Booking icon Quill Booking60+ installs do_action( 'action_scheduler_pre_theme_init' ) dependencies/libraries/action-scheduler/action-scheduler.php:67
  64. Content Forge icon Content Forge60+ installs do_action( 'action_scheduler_pre_theme_init' ) Lib/action-scheduler/action-scheduler.php:69
  65. MoceanAPI Order SMS Notification for WooCommerce icon MoceanAPI Order SMS Notification for WooCommerce50+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:62
  66. Mediapapa icon Mediapapa50+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/Dependencies/ActionScheduler/action-scheduler.php:67
  67. Smacks! Simple Importer icon Smacks! Simple Importer50+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  68. Eventilla Events icon Eventilla Events40+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  69. Lity icon Lity40+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/action-scheduler/action-scheduler.php:62
  70. Magic Link icon Magic Link40+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  71. Connect Ultimate Member to Discord icon Connect Ultimate Member to Discord30+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:62
  72. Fast Events icon Fast Events30+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  73. Connect LearnDash to Discord icon Connect LearnDash to Discord30+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:62
  74. Compresso icon Compresso30+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  75. Back in stock notifications for WooCommerce icon Back in stock notifications for WooCommerce30+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/action-scheduler/action-scheduler.php:62
  76. Connect Tutor LMS to Discord icon Connect Tutor LMS to Discord20+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:62
  77. WP Mailing Status icon WP Mailing Status20+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:50
  78. Connect GamiPress to Discord icon Connect GamiPress to Discord20+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:62
  79. Pronamic Pay with Rabo Smart Pay for WooCommerce icon Pronamic Pay with Rabo Smart Pay for WooCommerce20+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:67
  80. Come Back! icon Come Back!20+ installs do_action( 'action_scheduler_pre_theme_init' ) wp-content/plugins/action-scheduler/action-scheduler.php:50
  81. Logify icon Logify10+ installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  82. Visidea icon Visidea10+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:62
  83. Zeno icon Zeno10+ installs do_action( 'action_scheduler_pre_theme_init' ) src/Services/Scheduler/scoped-vendor/action-scheduler/action-scheduler.php:67
  84. Pronamic Pay with Mollie for Ninja Forms icon Pronamic Pay with Mollie for Ninja Forms10+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:68
  85. Connect LearnPress to Discord icon Connect LearnPress to Discord10+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:50
  86. Bookance Appointment Booking icon Bookance Appointment Booking10+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  87. Stalkfish icon Stalkfish10+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:62
  88. Mailtree Log Mail icon Mailtree Log Mail10+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:62
  89. Subscriptions & Recurring Payments for WooCommerce icon Subscriptions & Recurring Payments for WooCommerce10+ installs do_action( 'action_scheduler_pre_theme_init' ) inc/libraries/action-scheduler/action-scheduler.php:50
  90. Waypoint SEO Content Generator icon Waypoint SEO Content Generator10+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  91. ilGhera Reviso Exporter for WooCommerce icon ilGhera Reviso Exporter for WooCommerce10+ installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  92. USMS-GH WooCommerce SMS Notification icon USMS-GH WooCommerce SMS Notification10+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:62
  93. Filter AI icon Filter AI10+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/action-scheduler/action-scheduler.php:67
  94. ChatBudgie icon ChatBudgie10+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  95. Connect Restrict Content Pro to Discord AddOn icon Connect Restrict Content Pro to Discord AddOn10+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:55
  96. MoceanAPI SendSMS icon MoceanAPI SendSMS10+ installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:62
  97. Pronamic Pay with Mollie for WooCommerce icon Pronamic Pay with Mollie for WooCommerce10+ installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:68
  98. Connect LifterLMS to Discord icon Connect LifterLMS to Discord10+ installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:50
  99. DecaCrew icon DecaCrewFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  100. WPayme icon WPaymeFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:68
  101. Aben icon AbenFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  102. Bulk Email Checker icon Bulk Email CheckerFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  103. Paywong Payments icon Paywong PaymentsFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:62
  104. PostCaster icon PostCasterFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) includes/vendor-prefixed/woocommerce/action-scheduler/action-scheduler.php:69
  105. Waymender icon WaymenderFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  106. Anchormender icon AnchormenderFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  107. BizzyBees Content Aggregator icon BizzyBees Content AggregatorFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  108. Connect BadgeOS to Discord icon Connect BadgeOS to DiscordFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:62
  109. Strata Site Audit icon Strata Site AuditFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  110. Blinkimg Image Optimizer: Convert to WebP & AVIF, Compress Images, Same Quality icon Blinkimg Image Optimizer: Convert to WebP & AVIF, Compress Images, Same QualityFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) vendor-prefixed/action-scheduler/action-scheduler.php:67
  111. Fast Imagery icon Fast ImageryFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  112. Zapify icon ZapifyFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libs/action-scheduler/action-scheduler.php:67
  113. Agentyllo icon AgentylloFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  114. Queue Ajax Calls Performantly icon Queue Ajax Calls PerformantlyFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  115. Zybroz AI Agents icon Zybroz AI AgentsFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  116. ilGhera WooCommerce Importer for Reviso icon ilGhera WooCommerce Importer for RevisoFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  117. Stalemender icon StalemenderFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) lib/action-scheduler/action-scheduler.php:67
  118. PG Sync for Klaviyo and Woo Memberships and Subscriptions icon PG Sync for Klaviyo and Woo Memberships and SubscriptionsFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) libraries/action-scheduler/action-scheduler.php:67
  119. Pronamic Pay doneren met Mollie icon Pronamic Pay doneren met MollieFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:67
  120. AI Chat With Pages icon AI Chat With PagesFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) plugins/action-scheduler/action-scheduler.php:67
  121. WPayo icon WPayoFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) packages/woocommerce/action-scheduler/action-scheduler.php:67
  122. Connect ProfilePress and Discord icon Connect ProfilePress and DiscordFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:62
  123. Connect Eduma Theme to Discord icon Connect Eduma Theme to DiscordFewer than 10 installs do_action( 'action_scheduler_pre_theme_init' ) includes/libraries/action-scheduler/action-scheduler.php:50

Need a customisation built on this hook?

Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.