Stalkfish 1.2.1 has 50 actions and 63 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 Stalkfish fires an action
add_action( 'action_scheduler_completed_action', function( $action_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Stalkfish is about to use
add_filter( 'action_scheduler_claim_actions_order_by', function( $value ) {
// Change $value here.
return $value;
}, 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
-
/** * Fires after a scheduled action has been completed. */ do_action( 'action_scheduler_completed_action', $action_id ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_post_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_args", $args ); -
/** * Filters the post arguments used during an async request. */ apply_filters( "{$this->identifier}_query_url", $url ); -
/** * Allow custom processing before updating a table schema. */ do_action( 'action_scheduler_before_schema_update', $table, $this->db_version ); -
action_scheduler_claim_actions_order_by
filter Used by 112 plugins → Copy link Customise this hook/** * Sets the order-by clause used in the action claim query. */ apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY attempts ASC, scheduled_date_gmt ASC, action_id ASC' ); -
/** * Filter the batch size when cleaning the queue. */ apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ); -
action_scheduler_failed_old_action_deletion
action Used by 24 plugins → Copy link Customise this hook/** * Notify 3rd party code of exceptions when deleting a completed action older * than the retention period */ do_action( 'action_scheduler_failed_old_action_deletion', $action_id, $e, $lifespan, count( $actions_to_delete ) ); -
/** * Fires in the early stages of Action Scheduler init hook. */ do_action( 'action_scheduler_pre_init' ); -
action_scheduler_stored_action_instance
filter Used by 120 plugins → Copy link Customise this hook/** * Allow 3rd party code to change the instantiated action for a given hook, * args, schedule and group. */ apply_filters( 'action_scheduler_stored_action_instance', $action, $hook, $args, $schedule, $group ); -
/** * Sanitize the value of an option. */ apply_filters( 'sf_admin_settings_sanitize_option', $value, $option, $raw_value ); -
/** * Sanitize the value of an option by option name. */ apply_filters( "sf_admin_settings_sanitize_option_{$option_name}", $value, $option, $raw_value ); -
/** * Fire an action before saved. */ do_action( 'sf_update_option', $option ); -
/** * Filter through translated comment type labels */ apply_filters( 'stalkfish_comments_comment_type_labels', array( 'comment' => esc_html__( 'Comment', 'stalkfish' ), 'trackback' => esc_html__( 'Trackback', 'stalkfish' ), 'pingback' => esc_html__( 'Pingback', 'stalkfish' ), ) ); -
/** * Filters the boolean output for is_option_ignored(). */ apply_filters( 'stalkfish_is_option_ignored', in_array( $option_name, $default_ignored, true ), $option_name, $default_ignored ); -
/** * Attach additional event pipes via classes. */ apply_filters( 'stalkfish_pipes', $instances ); -
/** * To filter through settings labels at any point of time. */ apply_filters( 'stalkfish_settings_labels', $this->labels ); -
apply_filters( "sf_get_sections_{$this->id}", $sections ); -
apply_filters( "sf_get_settings_{$this->id}", $settings ); -
do_action( "sf_update_options_{$this->id}_{$current_section}" ); -
do_action( 'action_scheduler_after_process_queue' ); -
do_action( 'action_scheduler_before_process_queue' ); -
do_action( 'action_scheduler_bulk_cancel_actions', $action_ids ); -
do_action( 'action_scheduler_canceled_action', $action_id ); -
do_action( 'action_scheduler_deleted_action', $action_id ); -
do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception ); -
action_scheduler_list_table_column_args
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_list_table_column_args', '', $row ); -
action_scheduler_maximum_execution_time
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_maximum_execution_time', $time_limit ); -
do_action( 'action_scheduler_stored_action', $action_id ); -
do_action( 'action_scheduler/migrated_action', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
do_action( "sf_settings_{sanitize_title($value['id'])}" ); -
apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification ); -
apply_filters( 'action_scheduler_admin_view_class', 'ActionScheduler_AdminView' ); -
do_action( 'action_scheduler_after_execute', $action_id, $action, $context ); -
action_scheduler_allow_async_request_runner
filter Used by 121 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_allow_async_request_runner', $allow ); -
action_scheduler_async_request_sleep_seconds
filter Used by 121 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_async_request_sleep_seconds', 5, $this ); -
do_action( 'action_scheduler_before_execute', $action_id, $context ); -
do_action( 'action_scheduler_begin_execute', $action_id, $context ); -
action_scheduler_enable_recreate_data_store
filter Used by 124 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_enable_recreate_data_store', true ); -
do_action( 'action_scheduler_execution_ignored', $action_id, $context ); -
do_action( 'action_scheduler_failed_action', $action_id, $timeout ); -
do_action( 'action_scheduler_failed_execution', $action_id, $e, $context ); -
action_scheduler_failed_to_schedule_next_instance
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action ); -
do_action( 'action_scheduler_failed_validation', $action_id, $e, $context ); -
apply_filters( 'action_scheduler_failure_period', $time_limit ); -
action_scheduler_load_deprecated_functions
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_load_deprecated_functions', true ); -
apply_filters( 'action_scheduler_lock_class', 'ActionScheduler_OptionLock' ); -
apply_filters( 'action_scheduler_lock_duration', self::$lock_duration, $lock_type ); -
apply_filters( 'action_scheduler_logger_class', 'ActionScheduler_wpCommentLogger' ); -
apply_filters( 'action_scheduler_maximum_args_length', 191 ); -
action_scheduler_maximum_execution_time_likely_to_be_exceeded
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_maximum_execution_time_likely_to_be_exceeded', $likely_to_be_exceeded, $this, $processed_actions, $execution_time, $max_execution_time ); -
apply_filters( 'action_scheduler_memory_exceeded', $memory_exceeded, $this ); -
apply_filters( 'action_scheduler_migrate_data_store', false ); -
action_scheduler_migration_dependencies_met
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_migration_dependencies_met', true ); -
apply_filters( 'action_scheduler_post_status_args', $args ); -
action_scheduler_post_status_failed_labels
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_post_status_failed_labels', $labels ); -
action_scheduler_post_status_running_labels
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_post_status_running_labels', $labels ); -
apply_filters( 'action_scheduler_post_type_args', $args ); -
do_action( 'action_scheduler_pre_theme_init' ); -
action_scheduler_queue_runner_batch_size
filter Used by 121 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_batch_size', 25 ); -
apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' ); -
action_scheduler_queue_runner_concurrent_batches
filter Used by 122 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); -
action_scheduler_queue_runner_flush_cache
filter Used by 120 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_flush_cache', false ); -
action_scheduler_queue_runner_time_limit
filter Used by 125 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit ); -
do_action( 'action_scheduler_reset_action', $action_id ); -
apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds ); -
do_action( 'action_scheduler_run_queue', 'Async Request' ); -
apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); -
apply_filters( 'action_scheduler_store_class', self::DEFAULT_CLASS ); -
apply_filters( 'action_scheduler_stored_action_class', $action_class, $status, $hook, $args, $schedule, $group ); -
apply_filters( 'action_scheduler_taxonomy_args', $args ); -
apply_filters( 'action_scheduler_timeout_period', $time_limit ); -
do_action( 'action_scheduler_unexpected_shutdown', $this->action_id, $error ); -
action_scheduler_use_cpu_execution_time
filter Used by 122 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ); -
do_action( 'action_scheduler/created_table', $updated_table, $table ); -
action_scheduler/migrate_action_dry_run
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); -
do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination ); -
action_scheduler/migrate_action_incomplete
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
action_scheduler/migration_batch_complete
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migration_batch_complete', $action_ids ); -
apply_filters( 'action_scheduler/migration_batch_size', 250 ); -
action_scheduler/migration_batch_starting
action Used by 120 plugins → Copy link Customise this hookdo_action( 'action_scheduler/migration_batch_starting', $action_ids ); -
do_action( 'action_scheduler/migration_complete' ); -
apply_filters( 'action_scheduler/migration_config', $config ); -
apply_filters( 'action_scheduler/migration_interval', 0 ); -
do_action( 'action_scheduler/no_action_to_migrate', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/progress_tick', $this->total_ticks ); -
apply_filters( 'admin_memory_limit', $wp_max_limit ); -
apply_filters( 'https_local_ssl_verify', false ); -
do_action( "sf_admin_field_{$value['type']}", $value ); -
apply_filters( 'sf_exclude_settings', array( array( 'type' => 'title', 'id' => 'sf_exclude_rules', ), array( 'desc' => sprintf( __( 'Add rules to ignore specific site events or activities from being recorded by Stalkfish. %s.', 'stalkfish' ), '<a href="https://stalkfish.com/docs/excludes" target="_blank">' . __( 'Get help', 'stalkfish' ) . '</a>' ), 'id' => 'sf_exclude_rules', 'default' => get_option( 'sf_exclude_rules' ), 'type' =... ); -
apply_filters( 'sf_general_settings', $settings ); -
apply_filters( 'sf_get_settings_pages', $settings ); -
apply_filters( "sf_save_settings_{$current_tab}", ! empty( $_POST['save'] ) ); -
apply_filters( "sf_save_settings_{$current_tab}_{$current_section}", ! empty( $_POST['save'] ) ); -
do_action( "sf_sections_{$current_tab}" ); -
do_action( "sf_settings_{$current_tab}" ); -
do_action( "sf_settings_{sanitize_title($value['id'])}_after" ); -
do_action( "sf_settings_{sanitize_title($value['id'])}_end" ); -
apply_filters( "sf_settings_form_method_tab_{$current_tab}", 'post' ); -
do_action( "sf_settings_save_{$current_tab}" ); -
do_action( 'sf_settings_saved' ); -
do_action( 'sf_settings_start' ); -
do_action( 'sf_settings_tabs' ); -
apply_filters( 'sf_settings_tabs_array', array() ); -
do_action( 'sf_update_options' ); -
do_action( "sf_update_options_{$current_tab}" ); -
do_action( 'stalkfish_activation', $network_wide ); -
do_action( 'stalkfish_api_request', $api_request ); -
apply_filters( 'stalkfish_comments_exclude_comment_types', array() ); -
do_action( 'stalkfish_deactivation', $network_wide ); -
apply_filters( 'stalkfish_disable_user_switching_plugin_tracking', false ); -
apply_filters( 'stalkfish_log_data', compact( 'pipe', 'body' ) ); -
apply_filters( 'stalkfish_taxonomies_exclude_taxonomies', array( 'nav_menu', 'post_format', 'link_category', 'wp_theme', 'wp_template_part_area', ) );
Generated from Stalkfish'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: