WordPress filter hook

pre_as_schedule_single_action

Fired by 97 WordPress plugins, running on 11.1M+ sites between them.

“Provides an opportunity to short-circuit the default process for enqueuing single actions.”

How to use pre_as_schedule_single_action

It's a filter: your callback receives the value and 6 more arguments, and must return the (changed) value. Add this to your theme's functions.php or a small custom plugin:

functions.php
add_filter( 'pre_as_schedule_single_action', function( $value, $timestamp, $hook, $args, $group, $priority, $unique ) {
	// Change $value here.
	return $value;
}, 10, 7 );

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

97 plugins that fire pre_as_schedule_single_action

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

  1. WooCommerce icon WooCommerce7+ million installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/action-scheduler/functions.php:91
  2. Imagify Image Optimization: Optimize Images icon Imagify Image Optimization: Optimize Images900,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) inc/Dependencies/ActionScheduler/functions.php:91
  3. Fluent Forms icon Fluent Forms800,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) app/Services/Libraries/action-scheduler/functions.php:91
  4. Forminator Forms icon Forminator Forms600,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) library/lib/action-scheduler/functions.php:90
  5. SureForms icon SureForms500,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) inc/lib/action-scheduler/functions.php:89
  6. Ultimate Member icon Ultimate Member200,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/lib/action-scheduler/functions.php:91
  7. CartFlows icon CartFlows200,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) libraries/action-scheduler/functions.php:89
  8. UserFeedback icon UserFeedback200,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/lib/action-scheduler/functions.php:91
  9. Modula Image Gallery icon Modula Image Gallery100,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) includes/libraries/action-scheduler/functions.php:90
  10. FooGallery Photo Gallery : Image, Video & Masonry Galleries icon FooGallery Photo Gallery : Image, Video & Masonry Galleries100,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  11. WP Umbrella: Security Backup Restore & Monitoring icon WP Umbrella: Security Backup Restore & Monitoring90,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) thirds/action-scheduler/functions.php:91
  12. Import and export users and customers icon Import and export users and customers70,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  13. Site Reviews icon Site Reviews60,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) vendors/woocommerce/action-scheduler/functions.php:91
  14. Email Subscribers & Newsletters by Icegram Express icon Email Subscribers & Newsletters by Icegram Express50,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) lite/includes/libraries/action-scheduler/functions.php:89
  15. Easy Digital Downloads icon Easy Digital Downloads40,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  16. Search & Replace Everything icon Search & Replace Everything20,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  17. Action Scheduler icon Action Scheduler20,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) functions.php:91
  18. FunnelKit Automations icon FunnelKit Automations20,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) libraries/action-scheduler/functions.php:91
  19. Paid Membership Subscriptions icon Paid Membership Subscriptions10,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/libraries/action-scheduler/functions.php:91
  20. URL Shortify icon URL Shortify10,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  21. SureContact icon SureContact10,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  22. Content Egg icon Content Egg10,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  23. Advanced Form Integration icon Advanced Form Integration9,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) library/action-scheduler/functions.php:91
  24. Stripe Payment Forms by WP Simple Pay icon Stripe Payment Forms by WP Simple Pay8,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) lib/woocommerce/action-scheduler/functions.php:89
  25. WPScan icon WPScan8,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  26. Smart Image Resize for WooCommerce icon Smart Image Resize for WooCommerce7,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) libraries/action-scheduler/functions.php:89
  27. Podcast Importer SecondLine icon Podcast Importer SecondLine4,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  28. ReCrawler icon ReCrawler4,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) vendor-prefixed/woocommerce/action-scheduler/functions.php:91
  29. Powered Cache icon Powered Cache3,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/package/woocommerce/action-scheduler/functions.php:91
  30. Quill Forms icon Quill Forms3,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) dependencies/libraries/action-scheduler/functions.php:91
  31. Import Eventbrite Events icon Import Eventbrite Events3,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/iee-action-scheduler/action-scheduler/functions.php:95
  32. Pronamic Pay icon Pronamic Pay2,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  33. Knit Pay icon Knit Pay2,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  34. SureMembers icon SureMembers2,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  35. Mailrelay icon Mailrelay1,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) libraries/action-scheduler/functions.php:90
  36. Auto YouTube Importer icon Auto YouTube Importer1,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  37. 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 apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/wpea-action-scheduler/action-scheduler/functions.php:93
  38. SureDash icon SureDash1,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) inc/lib/action-scheduler/functions.php:91
  39. Smart Online Order for Clover icon Smart Online Order for Clover1,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  40. Notification Master icon Notification Master1,000+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/libraries/action-scheduler/functions.php:91
  41. Image SEO icon Image SEO900+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) thirds/action-scheduler/functions.php:89
  42. WANotifier for Forms and Actions icon WANotifier for Forms and Actions900+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  43. Infinite Uploads icon Infinite Uploads800+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  44. Revive.so icon Revive.so600+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) libraries/action-scheduler/functions.php:89
  45. ExpressTechSoftwares Discord Add-on for Paid Memberships Pro icon ExpressTechSoftwares Discord Add-on for Paid Memberships Pro600+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) libraries/action-scheduler/functions.php:90
  46. IP Locator icon IP Locator500+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) includes/libraries/action-scheduler/functions.php:90
  47. GatewayAPI icon GatewayAPI300+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  48. Logify WP icon Logify WP300+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) action-scheduler/functions.php:95
  49. Pronamic Pay with Mollie for Gravity Forms icon Pronamic Pay with Mollie for Gravity Forms300+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  50. WordLift icon WordLift300+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group ) libraries/action-scheduler/functions.php:76
  51. Import Meetup Events icon Import Meetup Events300+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/ime-action-scheduler/action-scheduler/functions.php:91
  52. Push Notification for Post and BuddyPress icon Push Notification for Post and BuddyPress200+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:94
  53. ExpressTechSoftwares Addon for MemberPress and Discord icon ExpressTechSoftwares Addon for MemberPress and Discord100+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) includes/libraries/action-scheduler/functions.php:89
  54. Limb AI Chatbot icon Limb AI Chatbot100+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/lib/action-scheduler/functions.php:91
  55. Pronamic Pay with Mollie for Contact Form 7 icon Pronamic Pay with Mollie for Contact Form 7100+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  56. DoubleScale CRM icon DoubleScale CRM90+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) dependencies/libraries/action-scheduler/functions.php:91
  57. WebinarIgnition icon WebinarIgnition80+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) inc/lib/action-scheduler/functions.php:91
  58. Quill Booking icon Quill Booking60+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) dependencies/libraries/action-scheduler/functions.php:90
  59. Content Forge icon Content Forge60+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) Lib/action-scheduler/functions.php:91
  60. Mediapapa icon Mediapapa50+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/Dependencies/ActionScheduler/functions.php:91
  61. Smacks! Simple Importer icon Smacks! Simple Importer50+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  62. Eventilla Events icon Eventilla Events40+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  63. Magic Link icon Magic Link40+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  64. Fast Events icon Fast Events30+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  65. Compresso icon Compresso30+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  66. Pronamic Pay with Rabo Smart Pay for WooCommerce icon Pronamic Pay with Rabo Smart Pay for WooCommerce20+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  67. Logify icon Logify10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  68. Visidea icon Visidea10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group ) libraries/action-scheduler/functions.php:76
  69. Zeno icon Zeno10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) src/Services/Scheduler/scoped-vendor/action-scheduler/functions.php:91
  70. Pronamic Pay with Mollie for Ninja Forms icon Pronamic Pay with Mollie for Ninja Forms10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  71. Bookance Appointment Booking icon Bookance Appointment Booking10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  72. Waypoint SEO Content Generator icon Waypoint SEO Content Generator10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  73. ilGhera Reviso Exporter for WooCommerce icon ilGhera Reviso Exporter for WooCommerce10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  74. Filter AI icon Filter AI10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/action-scheduler/functions.php:91
  75. ChatBudgie icon ChatBudgie10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  76. Pronamic Pay with Mollie for WooCommerce icon Pronamic Pay with Mollie for WooCommerce10+ installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  77. DecaCrew icon DecaCrewFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  78. WPayme icon WPaymeFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) packages/woocommerce/action-scheduler/functions.php:90
  79. Aben icon AbenFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  80. Bulk Email Checker icon Bulk Email CheckerFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  81. PostCaster icon PostCasterFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) includes/vendor-prefixed/woocommerce/action-scheduler/functions.php:94
  82. Waymender icon WaymenderFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  83. Anchormender icon AnchormenderFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  84. BizzyBees Content Aggregator icon BizzyBees Content AggregatorFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  85. Strata Site Audit icon Strata Site AuditFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  86. 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 apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) vendor-prefixed/action-scheduler/functions.php:91
  87. Fast Imagery icon Fast ImageryFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  88. Zapify icon ZapifyFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libs/action-scheduler/functions.php:91
  89. Agentyllo icon AgentylloFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  90. Queue Ajax Calls Performantly icon Queue Ajax Calls PerformantlyFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  91. Zybroz AI Agents icon Zybroz AI AgentsFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  92. ilGhera WooCommerce Importer for Reviso icon ilGhera WooCommerce Importer for RevisoFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  93. Stalemender icon StalemenderFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) lib/action-scheduler/functions.php:91
  94. PG Sync for Klaviyo and Woo Memberships and Subscriptions icon PG Sync for Klaviyo and Woo Memberships and SubscriptionsFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) libraries/action-scheduler/functions.php:91
  95. Pronamic Pay doneren met Mollie icon Pronamic Pay doneren met MollieFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ) packages/woocommerce/action-scheduler/functions.php:91
  96. AI Chat With Pages icon AI Chat With PagesFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) plugins/action-scheduler/functions.php:89
  97. WPayo icon WPayoFewer than 10 installs apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority ) packages/woocommerce/action-scheduler/functions.php:89

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.