UserFeedback 1.12.0 has 52 actions and 141 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 UserFeedback fires an action
add_action( 'action_scheduler_completed_action', function( $action_id ) {
// Your code runs here.
}, 10, 1 );
// Change a value UserFeedback is about to use
add_filter( 'editable_roles', function( $all_roles ) {
// Change $all_roles here.
return $all_roles;
}, 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' ); -
editable_roles
filter/** * Filter: 'editable_roles' - Allows filtering of the roles shown within the * plugin (and elsewhere in WP as it's a WP filter) */ apply_filters( 'editable_roles', $all_roles ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
/** * 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 ); -
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 ); -
upgrader_clear_destination
filter/** * Filter whether the upgrader cleared the destination. */ apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] ); -
upgrader_package_options
filter/** * Filter the package options before running an update. */ apply_filters( 'upgrader_package_options', $options ); -
upgrader_post_install
filter/** * Filter the installation response after the installation has finished. */ apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result ); -
upgrader_pre_download
filter/** * Filter whether to return the package. */ apply_filters( 'upgrader_pre_download', false, $package, $this ); -
upgrader_pre_install
filter/** * Filter the install response before the installation has started. */ apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] ); -
upgrader_process_complete
action/** * Fire when the upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, $options['hook_extra'] ); -
upgrader_source_selection
filter/** * Filter the source file location for the upgrade package. */ apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] ); -
/** * Filter: 'userfeedback_widget_translation_strings' */ apply_filters( 'userfeedback_widget_translation_strings', array( 'Close', 'Next', 'Skip', 'Thanks for your feedback!', 'UserFeedback logo', 'Type your answer here...', 'Email Address', 'First Name', 'Anything to add?', 'Extremely Likely', 'Not Likely', ) ); -
userfeedback_parsed_addons
filterapply_filters( 'userfeedback_parsed_addons', $stale ); -
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 ); -
apply_filters( 'action_scheduler_list_table_column_args', '', $row ); -
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 ); -
apply_filters( 'userfeedback_email_header_image', $img ); -
apply_filters( 'userfeedback_email_html_template', $value, $this ); -
userfeedback_email_message
filterapply_filters( 'userfeedback_email_message', $message, $this ); -
apply_filters( 'userfeedback_enable_onboarding_wizard', true ); -
apply_filters( 'userfeedback_frontend_script_localization', array( 'wp_rest_nonce' => wp_create_nonce('wp_rest'), 'rest_url' => rest_url(), 'assets' => plugins_url('/assets/vue', USERFEEDBACK_PLUGIN_FILE), 'is_pro' => userfeedback_is_pro_version(), 'is_licensed' => userfeedback_is_licensed(), 'use_survey' => $survey, 'addons' => array(), 'widget_settings' => userfeedback_get_frontend_widget_settings(), 'translations' => userfeedback_get_widget_jed_local... ); -
apply_filters( 'userfeedback_helpers_templates_locate', '', $template_name ); -
apply_filters( "{$this->get_table()}_per_page", $per_page ); -
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 ); -
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 ); -
apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ); -
apply_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_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_head
actiondo_action( 'admin_head' ); -
admin_memory_limit
filterapply_filters( 'admin_memory_limit', $wp_max_limit ); -
admin_print_scripts
actiondo_action( 'admin_print_scripts' ); -
admin_print_styles
actiondo_action( 'admin_print_styles' ); -
https_local_ssl_verify
filterapply_filters( 'https_local_ssl_verify', false ); -
plugin_locale
filterapply_filters( 'plugin_locale', $uf_locale, $uf_domain ); -
apply_filters( 'userfeedback_addons_script_dependencies', array() ); -
apply_filters( 'userfeedback_admin_assets_url', plugins_url( $path, USERFEEDBACK_PLUGIN_FILE ), $path ); -
apply_filters( 'userfeedback_admin_script_localization', array( 'base_url' => home_url(), 'ajax' => admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( 'uf-admin-nonce' ), 'wp_rest_nonce' => wp_create_nonce( 'wp_rest' ), 'activate_nonce' => wp_create_nonce( 'userfeedback-activate' ), 'deactivate_nonce' => wp_create_nonce( 'userfeedback-deactivate' ), 'install_nonce' => wp_create_nonce( 'userfeedback-install' ), 'ajax_url' => admin_url( 'admin-... ); -
do_action( 'userfeedback_after_db_impression', $id ); -
do_action( 'userfeedback_after_existing_upgrade_routine', $version ); -
userfeedback_after_install
actiondo_action( 'userfeedback_after_install' ); -
do_action( 'userfeedback_after_install_routine', $version ); -
apply_filters( 'userfeedback_ai_summary_api_url', 'https://userfeedback.com/' ); -
apply_filters( 'userfeedback_answer_validation', array( 'is_valid' => $is_valid, 'errors' => $errors, ), $value, $question ); -
userfeedback_before_install
actiondo_action( 'userfeedback_before_install' ); -
apply_filters( 'userfeedback_compatible_php_version', $this->compatible_php_version ); -
apply_filters( 'userfeedback_compatible_wp_version', $this->compatible_wp_version ); -
apply_filters( 'userfeedback_deactivation_survey_url', 'https://userfeedback.com/wp-json/am-deactivate-survey/v1/deactivation-data' ); -
apply_filters( 'userfeedback_disable_all_emails', false, $this ); -
apply_filters( 'userfeedback_email_addresses_to_send', $emails ); -
userfeedback_email_body
actiondo_action( 'userfeedback_email_body', $email_parts['body'] ); -
userfeedback_email_cc
filterapply_filters( 'userfeedback_email_cc', $this->cc, $this ); -
apply_filters( 'userfeedback_email_cc_enabled', $value, $this ); -
apply_filters( 'userfeedback_email_content_type', $this->content_type, $this ); -
apply_filters( 'userfeedback_email_default_content_type', 'text/html', $this ); -
apply_filters( 'userfeedback_email_from_address', $this->from_address, $this ); -
userfeedback_email_from_name
filterapply_filters( 'userfeedback_email_from_name', userfeedback_decode_string( $this->from_name ), $this ); -
userfeedback_email_headers
filterapply_filters( 'userfeedback_email_headers', $this->headers, $this ); -
apply_filters( 'userfeedback_email_notification_addresses', $emails, $this->survey, $this->response ); -
apply_filters( 'userfeedback_email_notification_template_args', $args ); -
userfeedback_email_reply_to
filterapply_filters( 'userfeedback_email_reply_to', $this->reply_to, $this ); -
do_action( 'userfeedback_email_send_after', $this ); -
do_action( 'userfeedback_email_send_before', $this ); -
apply_filters( 'userfeedback_email_summaries_template_args', $args ); -
apply_filters( 'userfeedback_email_surveys_script_dependencies', array() ); -
userfeedback_email_template
filterapply_filters( 'userfeedback_email_template', $this->template ); -
apply_filters( 'userfeedback_email_template_paths', $file_paths ); -
apply_filters( 'userfeedback_emails_new_response_subject', $subject, $this->survey, $this->response ); -
apply_filters( 'userfeedback_emails_send_email_data', array( 'to' => $to, 'subject' => $subject, 'message' => $message, 'headers' => $this->get_headers(), 'attachments' => $attachments, ), $this ); -
apply_filters( 'userfeedback_emails_summaries_cron_subject', $subject ); -
apply_filters( 'userfeedback_emails_templates_get_args', $this->args, $this ); -
apply_filters( "userfeedback_emails_templates_get_args_{$type}", $this->args[ $type ], $this ); -
apply_filters( 'userfeedback_emails_templates_get_content_part', $html, $template, $this ); -
apply_filters( 'userfeedback_emails_templates_set_args', $args, $this ); -
apply_filters( 'userfeedback_emails_templates_set_initial_args', $args, $this ); -
apply_filters( 'userfeedback_enable_surveys_for_admins', false ); -
apply_filters( 'userfeedback_exclusion_banner_config', array( 'title' => __('Survey is Hidden for Administrators', 'userfeedback-lite'), 'message' => __('Surveys are hidden for administrator accounts to keep your survey results accurate. To see surveys on your site, use an incognito window or log out.', 'userfeedback-lite') ), $exclusion_reason ); -
apply_filters( 'userfeedback_frontend_assets_url', plugins_url($path, USERFEEDBACK_PLUGIN_FILE), $path ); -
apply_filters( 'userfeedback_frontend_script_dependencies', array( 'userfeedback-frontend-vendors', 'userfeedback-frontend-common' ) ); -
apply_filters( 'userfeedback_get_licensing_url', 'https://www.userfeedback.com' ); -
userfeedback_get_option
filterapply_filters( 'userfeedback_get_option', $value, $key, $default ); -
apply_filters( "userfeedback_get_option_{$key}", $value, $key, $default ); -
apply_filters( "userfeedback_get_template_config_{$key}", $this->get_config() ); -
apply_filters( 'userfeedback_gutenberg_tool_vars', array( 'ajaxurl' => admin_url('admin-ajax.php'), 'nonce' => wp_create_nonce('userfeedback_gutenberg_headline_nonce'), 'allowed_post_types' => apply_filters('userfeedback_metabox_post_types', array('post')), 'current_post_type' => $posttype, 'translations' => userfeedback_get_jed_locale_data('userfeedback-lite'), 'vue_assets_path' => plugins_url($version_path . '/assets/vue/', USERFEEDBACK_PLUGI... ); -
apply_filters( 'userfeedback_heatmap_script_dependencies', array() ); -
apply_filters( 'userfeedback_helpers_templates_include_html_args', $args, $template_name, $extract ); -
apply_filters( 'userfeedback_helpers_templates_include_html_extract_args', $extract, $template_name, $args ); -
apply_filters( 'userfeedback_helpers_templates_include_html_located', self::locate_template( $template_name ), $template_name, $args, $extract ); -
userfeedback_is_debug_mode
filterapply_filters( 'userfeedback_is_debug_mode', $debug_mode ); -
apply_filters( 'userfeedback_languages_directory', $uf_languages_dir ); -
userfeedback_load_plugins
actiondo_action( 'userfeedback_load_plugins' ); -
apply_filters( 'userfeedback_metabox_post_types', array('post') ); -
apply_filters( 'userfeedback_notifications_skip_interval_check', false ); -
apply_filters( 'userfeedback_onboarding_script_dependencies', array( 'userfeedback-vue-chunk-vendors', 'userfeedback-vue-chunk-common', ) ); -
apply_filters( 'userfeedback_post_ratings_script_dependencies', array() ); -
apply_filters( 'userfeedback_process_smart_tags', $string ); -
apply_filters( 'userfeedback_results_script_dependencies', array() ); -
do_action( 'userfeedback_run_notifications' ); -
apply_filters( 'userfeedback_save_survey_params', $params, $survey_id ); -
userfeedback_settings_saved
actiondo_action( 'userfeedback_settings_saved' ); -
apply_filters( 'userfeedback_settings_script_dependencies', array() ); -
apply_filters( 'userfeedback_smtp_script_dependencies', array() ); -
userfeedback_survey_response
actiondo_action( 'userfeedback_survey_response', $survey_id, $response_id, $request->get_json_params() ); -
apply_filters( 'userfeedback_survey_show_in_country', true, array( 'target_countries' => $country_codes ) ); -
apply_filters( 'userfeedback_surveys_script_dependencies', array() ); -
userfeedback_update_option
filterapply_filters( 'userfeedback_update_option', $value, $key ); -
apply_filters( 'userfeedback_usage_tracking_params', array( 'method' => 'POST', 'timeout' => 5, 'redirection' => 5, 'httpversion' => '1.1', 'body' => $this->get_data(), 'user-agent' => 'UF/' . USERFEEDBACK_VERSION . '; ' . get_bloginfo( 'url' ), ) ); -
apply_filters( 'userfeedback_usage_tracking_url', 'https://miusage.com/v1/uf-checkin/' ); -
userfeedback_vue_notices
filterapply_filters( 'userfeedback_vue_notices', array() ); -
userfeedback_vue_wp_notices
filterapply_filters( 'userfeedback_vue_wp_notices', array() );
Generated from UserFeedback'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: