Site Reviews 8.3.8 has 59 actions and 98 filters, read directly from its source code on Nov 17, 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 Site Reviews fires an action
add_action( 'action_scheduler_completed_action', function( $action_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value Site Reviews is about to use
add_filter( 'action_scheduler_allowed_nested_schedule_classes', 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 ); -
action_scheduler_init
action/** * Fires when Action Scheduler is ready: it is safe to use the procedural API * after this point. */ do_action( 'action_scheduler_init' ); -
/** * 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 ); -
/** * Filters the list of classes that are permitted as nested properties of a * schedule object. */ apply_filters( 'action_scheduler_allowed_nested_schedule_classes', self::DEFAULT_NESTED_CLASSES ); -
/** * Allow custom processing before updating a table schema. */ do_action( 'action_scheduler_before_schema_update', $table, $this->db_version ); -
/** * Sets the order-by clause used in the action claim query. */ apply_filters( 'action_scheduler_claim_actions_order_by', 'ORDER BY priority ASC, attempts ASC, scheduled_date_gmt ASC, action_id ASC', $claim_id, $hooks ); -
/** * Filter the batch size when cleaning the queue. */ apply_filters( 'action_scheduler_cleanup_batch_size', $this->batch_size ); -
/** * Filter whether the database supports the SKIP LOCKED modifier for queries. */ apply_filters( 'action_scheduler_db_supports_skip_locked', $is_supported ); -
/** * Filter the statuses when cleaning the queue. */ apply_filters( 'action_scheduler_default_cleaner_statuses', $this->default_statuses_to_purge ); -
/** * Filter whether failed actions are purged. Return false to disable failed * action cleanup. */ apply_filters( 'action_scheduler_enable_failed_action_cleanup', true ); -
/** * Filters whether Action Scheduler rejects schedule blobs referencing * unexpected classes. */ apply_filters( 'action_scheduler_enforce_schedule_allowed_classes', true ); -
/** * Fires to allow extensions to verify and ensure their recurring actions are * scheduled. */ do_action( 'action_scheduler_ensure_recurring_actions' ); -
/** * Allows 3rd party code to add extra action counts (used in filters in the * list table). */ apply_filters( 'action_scheduler_extra_action_counts', $extra_actions ); -
/** * Notify 3rd party code of exceptions when deleting a completed action older * than the retention period */ do_action( "action_scheduler_failed_{$context}_action_deletion", $action_id, $e, $lifespan, count( $actions_to_delete ) ); -
/** * Runs when action execution fails. */ do_action( 'action_scheduler_failed_execution', $action_id, $e, $context ); -
/** * Runs when action validation fails. */ do_action( 'action_scheduler_failed_validation', $action_id, $e, $context ); -
action_scheduler_pre_init
action/** * Fires in the early stages of Action Scheduler init hook. */ do_action( 'action_scheduler_pre_init' ); -
/** * When an external object cache is in use, and when wp_cache_flush_runtime() * is not available, then normally the cache will not be flushed after * processing a batch of actions (to avoid a performance penalty for other * processes). */ apply_filters( 'action_scheduler_queue_runner_flush_cache', false ); -
/** * Controls the failure threshold for recurring actions. */ apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 ); -
/** * If a recurring action is assessed as consistently failing, it will not be * rescheduled. This hook provides a way to observe and optionally override * that assessment. */ apply_filters( 'action_scheduler_recurring_action_is_consistently_failing', $first_action_id_with_the_same_hook === $first_failing_action_id, $action ); -
/** * Filter the minimum scheduled date age for action deletion. */ apply_filters( 'action_scheduler_retention_period', $this->month_in_seconds ); -
/** * Set the retention period in seconds for actions with a failed status. If the * action_scheduler_default_cleaner_statuses filter includes a failed status, * this filter result will be ignored, and the retention period for failed * actions will match that of other statuses. */ apply_filters( 'action_scheduler_retention_period_for_failed', 3 * $this->month_in_seconds ); -
/** * 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, $priority ); -
/** * Fires when a stored schedule blob references a class Action Scheduler did * not expect. */ do_action( 'action_scheduler_unexpected_schedule_class', $offending_class, $this->outer_class, $this->potential_offenders, $rejected ); -
pre_as_enqueue_async_action
filter/** * Provides an opportunity to short-circuit the default process for enqueuing * async actions. */ apply_filters( 'pre_as_enqueue_async_action', null, $hook, $args, $group, $priority, $unique ); -
pre_as_schedule_cron_action
filter/** * Provides an opportunity to short-circuit the default process for enqueuing * cron actions. */ apply_filters( 'pre_as_schedule_cron_action', null, $timestamp, $schedule, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * recurring actions. */ apply_filters( 'pre_as_schedule_recurring_action', null, $timestamp, $interval_in_seconds, $hook, $args, $group, $priority, $unique ); -
/** * Provides an opportunity to short-circuit the default process for enqueuing * single actions. */ apply_filters( 'pre_as_schedule_single_action', null, $timestamp, $hook, $args, $group, $priority, $unique ); -
/** * Loop Rating */ do_action( 'site-reviews/woocommerce/render/loop/rating' ); -
/** * Display single product reviews */ do_action( 'site-reviews/woocommerce/render/single-product-reviews' ); -
/** * Single Product Rating */ do_action( 'site-reviews/woocommerce/render/single-product/rating' ); -
{$prefix}/{$hook}
filterapply_filters_ref_array( "{$prefix}/{$hook}", $args ); -
{$prefix}/filter
actiondo_action( "{$prefix}/filter", $hook, $args ); -
apply_filters( 'action_scheduler_list_table_column_args', '', $row ); -
apply_filters( 'action_scheduler_admin_notice_html', $action_message_html, $action, $notification ); -
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 ); -
apply_filters( 'action_scheduler_enable_recreate_data_store', true ); -
do_action( 'action_scheduler_failed_fetch_action', $action_id, $exception ); -
apply_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 ); -
wphb_clear_page_cache
actiondo_action( 'wphb_clear_page_cache' ); -
wpml_element_trid
filterapply_filters( 'wpml_element_trid', null, $postId, $elementType ); -
apply_filters( 'wpml_get_element_translations', null, $trid, $elementType ); -
wpml_is_translated_post_type
filterapply_filters( 'wpml_is_translated_post_type', false, $postType ); -
wpml_is_translated_taxonomy
filterapply_filters( 'wpml_is_translated_taxonomy', false, glsr()->taxonomy ); -
wpml_object_id
filterapply_filters( 'wpml_object_id', $postId, $postType, true ); -
{$prefix}/{$hook}
actiondo_action_ref_array( "{$prefix}/{$hook}", $args ); -
{$prefix}/action
actiondo_action( "{$prefix}/action", $hook, $args ); -
apply_filters_ref_array( "{glsr()->id}/review/call/{$method}", $args ); -
{static::ID}/{$hook}
actiondo_action_deprecated( "{static::ID}/{$hook}", $args, $this->host->version, $this->hookPrefix()."/{$hook}" ); -
{static::ID}/{$hook}
filterapply_filters_deprecated( "{static::ID}/{$hook}", $args, $this->host->version, $this->hookPrefix()."/{$hook}" ); -
apply_filters( 'action_scheduler_admin_view_class', 'ActionScheduler_AdminView' ); -
do_action( 'action_scheduler_after_execute', $action_id, $action, $context ); -
apply_filters( 'action_scheduler_allow_async_request_runner', $allow ); -
apply_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 ); -
do_action( 'action_scheduler_canceled_corrupted_action', $action_id ); -
apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ); -
do_action( 'action_scheduler_execution_ignored', $action_id, $context ); -
do_action( 'action_scheduler_failed_action', $action_id, $timeout ); -
do_action( 'action_scheduler_failed_to_schedule_next_instance', $action_id, $e, $action ); -
apply_filters( 'action_scheduler_failure_period', $time_limit ); -
apply_filters( 'action_scheduler_load_deprecated_functions', true ); -
action_scheduler_lock_class
filterapply_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 ); -
apply_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 ); -
apply_filters( 'action_scheduler_migration_dependencies_met', true ); -
apply_filters( 'action_scheduler_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_min ); -
apply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); -
apply_filters( 'action_scheduler_pastdue_actions_check_pre', null ); -
do_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args ); -
apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); -
apply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); -
apply_filters( 'action_scheduler_post_status_args', $args ); -
apply_filters( 'action_scheduler_post_status_failed_labels', $labels ); -
apply_filters( 'action_scheduler_post_status_running_labels', $labels ); -
apply_filters( 'action_scheduler_post_type_args', $args ); -
do_action( 'action_scheduler_pre_theme_init' ); -
apply_filters( 'action_scheduler_queue_runner_batch_size', 25 ); -
apply_filters( 'action_scheduler_queue_runner_class', 'ActionScheduler_QueueRunner' ); -
apply_filters( 'action_scheduler_queue_runner_concurrent_batches', 1 ); -
apply_filters( 'action_scheduler_queue_runner_time_limit', $time_limit ); -
do_action( 'action_scheduler_reset_action', $action_id ); -
action_scheduler_run_queue
actiondo_action( 'action_scheduler_run_queue', 'Async Request' ); -
apply_filters( 'action_scheduler_run_schedule', self::WP_CRON_SCHEDULE ); -
action_scheduler_store_class
filterapply_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 ); -
apply_filters( 'action_scheduler_use_cpu_execution_time', defined( 'PANTHEON_ENVIRONMENT' ) ); -
do_action( 'action_scheduler/created_table', $updated_table, $table ); -
do_action( 'action_scheduler/migrate_action_dry_run', $source_action_id ); -
do_action( 'action_scheduler/migrate_action_failed', $source_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/migrate_action_incomplete', $source_action_id, $destination_action_id, $this->source, $this->destination ); -
do_action( 'action_scheduler/migration_batch_complete', $action_ids ); -
apply_filters( 'action_scheduler/migration_batch_size', 250 ); -
do_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 ); -
admin_memory_limit
filterapply_filters( 'admin_memory_limit', $wp_max_limit ); -
apply_filters( "bricks/elements/{$tag}/controls", $instance->controls ); -
bulk_edit_custom_box
actiondo_action( 'bulk_edit_custom_box', $columnName, glsr()->post_type ); -
console
filterapply_filters( 'console', $message, $levelName, $backtraceLine ); -
epc_purge
actiondo_action( 'epc_purge' ); -
excerpt_length
filterapply_filters( 'excerpt_length', 55 ); -
get_edit_post_link
filterapply_filters( 'get_edit_post_link', $link, $this->ID, 'display' ); -
https_local_ssl_verify
filterapply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'intermediate_image_sizes_advanced', $sizes, $metadata, $remoteAttachmentId ); -
litespeed_nonce
actiondo_action( 'litespeed_nonce', 'submit-review' ); -
litespeed_purge_all
actiondo_action( 'litespeed_purge_all' ); -
litespeed_purge_post
actiondo_action( 'litespeed_purge_post', $postId ); -
apply_filters( 'nectar_woocommerce_no_reviews_title', '' ); -
paginate_links
filterapply_filters( 'paginate_links', $href ); -
do_action( 'site-reviews/cloudflare/purge', $postIds ); -
do_action( 'site-reviews/cloudflare/purge_all' ); -
apply_filters_deprecated( 'site-reviews/config/forms/submission-form', [$config], '5.0', 'site-reviews/config/forms/review-form' ); -
apply_filters_deprecated( 'site-reviews/rest-api/reviews/properties', [$properties], '6.5.0', 'site-reviews/rest-api/reviews/schema/properties' ); -
apply_filters_deprecated( 'site-reviews/rest-api/summary/properties', [$properties], '6.5.0', 'site-reviews/rest-api/summary/schema/properties' ); -
apply_filters_deprecated( 'site-reviews/review-form/fields/normalized', [$fields, $args], '7.0', 'site-reviews/review-form/fields/all' ); -
apply_filters_deprecated( 'site-reviews/review-form/order', [$order], '8.0', 'site-reviews/review-form/fields/order' ); -
apply_filters_deprecated( 'site-reviews/review-table/filter', [$defaults], '5.11.0', 'site-reviews/defaults/review-table-filters' ); -
site-reviews/review/response
actiondo_action_deprecated( 'site-reviews/review/response', [$review, $response], '5.11.0', 'site-reviews/review/responded', 'This hook is documented on the FAQ page.' ); -
site-reviews/review/saved
actiondo_action_deprecated( 'site-reviews/review/saved', [$review, $data], '6.7.0', 'site-reviews/review/updated' ); -
apply_filters_deprecated( 'site-reviews/reviews/reviews-wrapper', [$html], '5.0', '', 'Please use a custom "reviews.php" template instead.' ); -
site-reviews/slack/compose
filterapply_filters_deprecated( 'site-reviews/slack/compose', [$notification], '6.9.0', 'site-reviews/slack/notification' ); -
apply_filters_deprecated( 'site-reviews/submission-form/order', [$order], '5.0', 'site-reviews/review-form/fields/order' ); -
site-reviews/whip/methods
filterapply_filters_deprecated( 'site-reviews/whip/methods', [GeminiLabs\Vectorface\Whip\Whip::ALL_METHODS], '7.0.6', '', $message ); -
apply_filters_deprecated( 'site-reviews/whip/whitelist/cloudflare', [false], '7.0.6', '', $message ); -
views_{$hookName}
filterapply_filters( "views_{$hookName}", $table->get_views() ); -
widget_title
filterapply_filters( 'widget_title', $title, $instance, $this->id_base ); -
apply_filters( 'wlr_hide_product_review_message', false, [] ); -
apply_filters( 'woocommerce_default_catalog_orderby', get_option('woocommerce_default_catalog_orderby') ); -
apply_filters( 'woocommerce_disable_compatibility_layer', false ); -
apply_filters( 'woocommerce_rating_filter_count', "({$count})", $count, $rating ); -
apply_filters( 'woocommerce_rating_filter_link', $link ); -
apply_filters( 'woocommerce_rest_product_review_trashable', \EMPTY_TRASH_DAYS > 0, $review ); -
woocommerce_reviews_title
filterapply_filters( 'woocommerce_reviews_title', $title, $ratings->reviews, $product ); -
do_action( 'woocommerce_widget_product_review_item_end', $args ); -
do_action( 'woocommerce_widget_product_review_item_start', $args ); -
wpfc_clear_all_cache
actiondo_action( 'wpfc_clear_all_cache' ); -
wpfc_clear_post_cache_by_id
actiondo_action( 'wpfc_clear_post_cache_by_id', false, $postId );
Generated from Site Reviews's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Can't find the right hook?
We can build the customisation for you. Describe what you need: