WordPress filter hook
pre_as_enqueue_async_action
Fired by 97 WordPress plugins, running on 11.1M+ sites between them.
“Provides an opportunity to short-circuit the default process for enqueuing async actions.”
How to use pre_as_enqueue_async_action
It's a filter: your callback receives the value and 5 more arguments, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'pre_as_enqueue_async_action', function( $value, $hook, $args, $group, $priority, $unique ) {
// Change $value here.
return $value;
}, 10, 6 );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_enqueue_async_action
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
WooCommerce7+ million installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/action-scheduler/functions.php:40 -
Imagify Image Optimization: Optimize Images900,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )inc/Dependencies/ActionScheduler/functions.php:40 -
Fluent Forms800,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )app/Services/Libraries/action-scheduler/functions.php:40 -
Forminator Forms600,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )library/lib/action-scheduler/functions.php:40 -
SureForms500,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )inc/lib/action-scheduler/functions.php:39 -
Ultimate Member200,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/lib/action-scheduler/functions.php:40 -
CartFlows200,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )libraries/action-scheduler/functions.php:39 -
UserFeedback200,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/lib/action-scheduler/functions.php:40 -
Modula Image Gallery100,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/libraries/action-scheduler/functions.php:40 -
FooGallery Photo Gallery : Image, Video & Masonry Galleries100,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
WP Umbrella: Security Backup Restore & Monitoring90,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )thirds/action-scheduler/functions.php:40 -
Import and export users and customers70,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Site Reviews60,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )vendors/woocommerce/action-scheduler/functions.php:40 -
Email Subscribers & Newsletters by Icegram Express50,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )lite/includes/libraries/action-scheduler/functions.php:39 -
Easy Digital Downloads40,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Search & Replace Everything20,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Action Scheduler20,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )functions.php:40 -
FunnelKit Automations20,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:41 -
Paid Membership Subscriptions10,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/libraries/action-scheduler/functions.php:40 -
URL Shortify10,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
SureContact10,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Content Egg10,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Advanced Form Integration9,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )library/action-scheduler/functions.php:40 -
Stripe Payment Forms by WP Simple Pay8,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )lib/woocommerce/action-scheduler/functions.php:39 -
WPScan8,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Smart Image Resize for WooCommerce7,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )libraries/action-scheduler/functions.php:39 -
Podcast Importer SecondLine4,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
ReCrawler4,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )vendor-prefixed/woocommerce/action-scheduler/functions.php:40 -
Powered Cache3,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/package/woocommerce/action-scheduler/functions.php:40 -
Quill Forms3,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )dependencies/libraries/action-scheduler/functions.php:40 -
Import Eventbrite Events3,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/iee-action-scheduler/action-scheduler/functions.php:44 -
Pronamic Pay2,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
Knit Pay2,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
SureMembers2,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Mailrelay1,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Auto YouTube Importer1,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
WP Event Aggregator: Import Eventbrite events, Meetup events, social events and any iCal Events into Event Calendar1,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/wpea-action-scheduler/action-scheduler/functions.php:42 -
SureDash1,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )inc/lib/action-scheduler/functions.php:40 -
Smart Online Order for Clover1,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Notification Master1,000+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/libraries/action-scheduler/functions.php:40 -
Image SEO900+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )thirds/action-scheduler/functions.php:39 -
WANotifier for Forms and Actions900+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Infinite Uploads800+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Revive.so600+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )libraries/action-scheduler/functions.php:39 -
ExpressTechSoftwares Discord Add-on for Paid Memberships Pro600+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
IP Locator500+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/libraries/action-scheduler/functions.php:40 -
GatewayAPI300+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Logify WP300+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )action-scheduler/functions.php:45 -
Pronamic Pay with Mollie for Gravity Forms300+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
WordLift300+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group )libraries/action-scheduler/functions.php:37 -
Import Meetup Events300+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/ime-action-scheduler/action-scheduler/functions.php:40 -
Push Notification for Post and BuddyPress200+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:43 -
ExpressTechSoftwares Addon for MemberPress and Discord100+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )includes/libraries/action-scheduler/functions.php:39 -
Limb AI Chatbot100+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/lib/action-scheduler/functions.php:40 -
Pronamic Pay with Mollie for Contact Form 7100+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
DoubleScale CRM80+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )dependencies/libraries/action-scheduler/functions.php:40 -
WebinarIgnition80+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )inc/lib/action-scheduler/functions.php:40 -
Quill Booking60+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )dependencies/libraries/action-scheduler/functions.php:40 -
Content Forge60+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )Lib/action-scheduler/functions.php:40 -
Eventilla Events50+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Smacks! Simple Importer50+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Mediapapa40+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/Dependencies/ActionScheduler/functions.php:40 -
Magic Link30+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Fast Events30+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Compresso30+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Logify10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Visidea10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group )libraries/action-scheduler/functions.php:37 -
Zeno10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )src/Services/Scheduler/scoped-vendor/action-scheduler/functions.php:40 -
Pronamic Pay with Mollie for Ninja Forms10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
Bookance Appointment Booking10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Waypoint SEO Content Generator10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
ilGhera Reviso Exporter for WooCommerce10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Filter AI10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/action-scheduler/functions.php:40 -
ChatBudgie10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Pronamic Pay with Rabo Smart Pay for WooCommerce10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
Pronamic Pay with Mollie for WooCommerce10+ installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
DecaCrewFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
WPaymeFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
AbenFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
Bulk Email CheckerFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
PostCasterFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )includes/vendor-prefixed/woocommerce/action-scheduler/functions.php:43 -
WaymenderFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
AnchormenderFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
BizzyBees Content AggregatorFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Strata Site AuditFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Blinkimg Image Optimizer: Convert to WebP & AVIF, Compress Images, Same QualityFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )vendor-prefixed/action-scheduler/functions.php:40 -
Fast ImageryFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
ZapifyFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libs/action-scheduler/functions.php:40 -
AgentylloFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
Queue Ajax Calls PerformantlyFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Zybroz AI AgentsFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
ilGhera WooCommerce Importer for RevisoFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
StalemenderFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )lib/action-scheduler/functions.php:40 -
PG Sync for Klaviyo and Woo Memberships and SubscriptionsFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )libraries/action-scheduler/functions.php:40 -
Pronamic Pay doneren met MollieFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique )packages/woocommerce/action-scheduler/functions.php:40 -
AI Chat With PagesFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )plugins/action-scheduler/functions.php:39 -
WPayoFewer than 10 installs
apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority )packages/woocommerce/action-scheduler/functions.php:39
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.