Recast: Bulk Edit for WooCommerce Subscriptions 0.4.0 has 7 actions and 22 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when Recast: Bulk Edit for WooCommerce Subscriptions fires an action
add_action( 'recast_cleanup', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Recast: Bulk Edit for WooCommerce Subscriptions is about to use
add_filter( 'recast_admin_script_dependencies', function( $isset ) {
// Change $isset here.
return $isset;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters the scripts the admin app waits for. */ apply_filters( 'recast_admin_script_dependencies', isset( $asset['dependencies'] ) ? $asset['dependencies'] : array() ); -
/** * Filters the settings object exposed to the admin app. */ apply_filters( 'recast_admin_settings', Settings::for_js() ); -
/** * Lets an extension handle cancellation of an applying or paused run. */ apply_filters( 'recast_cancel_run', null, $run ); -
/** * Filters the per-action time budget in seconds. */ apply_filters( 'recast_chunk_time_budget', 20.0 ); -
/** * Fires on every cleanup pass (exports, journal retention). */ do_action( 'recast_cleanup' ); -
/** * Filters the base wcs_get_subscriptions() arguments compiled from a cohort * spec. */ apply_filters( 'recast_cohort_query_args', $args, $this->spec ); -
/** * Filters the confirmation codes required before applying a run. */ apply_filters( 'recast_confirmation_thresholds', $codes, $summary, $run ); -
/** * Filters how long a count may run inside a request before moving to the * background. */ apply_filters( 'recast_count_sync_budget', 4.0 ); -
/** * Filters the roles whose users show in the customer search. */ apply_filters( 'recast_customer_roles', array_values( array_unique( array_filter( $roles ) ) ) ); -
/** * Filters the value of a custom export column. */ apply_filters( 'recast_export_column_value', '', $key, $subscription ); -
/** * Filters the export columns (key => header). */ apply_filters( 'recast_export_columns', $columns ); -
/** * Filters the fields fingerprinted for a run. */ apply_filters( 'recast_fingerprint_fields', $fields, $operation_id, $params ); -
/** * Filters the Freemius product id (lets a wp-config.php override the release * placeholder). */ apply_filters( 'recast_fs_id', constant( 'RECAST_FS_ID' ) ); -
/** * Fires after the Freemius SDK is initialised. */ do_action( 'recast_fs_loaded' ); -
/** * Filters the Freemius public key. */ apply_filters( 'recast_fs_public_key', constant( 'RECAST_FS_PUBLIC_KEY' ) ); -
/** * Filters how long the health scan may run in the request that starts it. */ apply_filters( 'recast_health_sync_budget', 4.0 ); -
/** * Filters a label map. */ apply_filters( 'recast_labels', $map, $kind ); -
/** * Fires once Recast has verified its requirements and is ready to register * components. */ do_action( 'recast_loaded', $this ); -
/** * Filters meta prefixes that the meta operation refuses to touch. */ apply_filters( 'recast_meta_denylist', $list ); -
/** * Filters the capability required to use Recast. */ apply_filters( 'recast_read_capability', 'manage_woocommerce' ); -
/** * Lets extensions register additional cohort filters. */ do_action( 'recast_register_cohort_filters', $registry ); -
/** * Lets extensions register operations. */ do_action( 'recast_register_operations', $this->operations ); -
/** * Filters the REST controllers (class names extending AbstractController). */ apply_filters( 'recast_rest_controllers', array( SystemController::class, OptionsController::class, CohortController::class, OperationsController::class, RunsController::class, ExportsController::class, SettingsController::class, HealthController::class, ) ); -
/** * Fires when a batch preview is ready. */ do_action( 'recast_run_previewed', $this->runs->get( $run->id ) ); -
/** * Filters a batch as the REST API returns it. */ apply_filters( 'recast_run_response', $data, $run ); -
/** * Filters the system information. */ apply_filters( 'recast_system_info', $info ); -
/** * Fires on every watchdog pass so the apply pipeline can recover claimed items * and re-enqueue lanes. */ do_action( 'recast_watchdog' ); -
/** * Filters the capability required to apply changes. */ apply_filters( 'recast_write_capability', 'manage_woocommerce' ); -
/** * This filter is documented by WooCommerce Subscriptions. */ apply_filters( 'woocommerce_subscription_payment_meta', array(), $subscription );
Generated from Recast: Bulk Edit for WooCommerce Subscriptions's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: