SureDash 1.13.2 has 125 actions and 286 filters, read directly from its source code on Nov 18, 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 SureDash fires an action
add_action( 'suredash_before_file_delete', function( $image_path, $image ) {
// Your code runs here.
}, 10, 2 );
// Change a value SureDash is about to use
add_filter( 'suredash_feeds_visibility_prefilter_cap', 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
-
/** * This action is documented in inc/compatibility/comment.php */ do_action( 'suredash_before_file_delete', $image_path, $image ); -
/** * Fires to render post visibility button (members popup). */ do_action( 'suredash_post_visibility_button', $post_id ); -
/** * Fires after a scheduled action has been completed. */ do_action( 'action_scheduler_completed_action', $action_id ); -
/** * Fires when Action Scheduler is ready: it is safe to use the procedural API * after this point. */ do_action( 'action_scheduler_init' ); -
/** * Cap on the number of posts we pull from the DB before applying the * visibility filter. Sort happens at SQL, visibility filter happens in PHP * (`suredash_is_post_protected()`), so without a separation between "candidate * pool size" and "page size" the filter can drop everything on a page and the * user sees an empty space even when posts they own exist further down. */ apply_filters( 'suredash_feeds_visibility_prefilter_cap', 1000 ); -
/** * Fires to render user access control selector in post creation modal. */ do_action( 'suredash_post_access_control_selector', 'create' ); -
/** * Fires after a new user registration via SureDash social login. */ do_action( 'suredash_user_registered', $new_user_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 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 ); -
action_scheduler_db_supports_skip_locked
filter Used by 76 plugins → Copy link Customise this hook/** * Filter whether the database supports the SKIP LOCKED modifier for queries. */ apply_filters( 'action_scheduler_db_supports_skip_locked', $is_supported ); -
action_scheduler_default_cleaner_statuses
filter Used by 98 plugins → Copy link Customise this hook/** * Filter the statuses when cleaning the queue. */ apply_filters( 'action_scheduler_default_cleaner_statuses', $this->default_statuses_to_purge ); -
action_scheduler_ensure_recurring_actions
action Used by 76 plugins → Copy link Customise this hook/** * 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 ); -
/** * Fires in the early stages of Action Scheduler init hook. */ do_action( 'action_scheduler_pre_init' ); -
action_scheduler_queue_runner_flush_cache
filter Used by 120 plugins → Copy link Customise this hook/** * 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 ); -
action_scheduler_recurring_action_failure_threshold
filter Used by 100 plugins → Copy link Customise this hook/** * Controls the failure threshold for recurring actions. */ apply_filters( 'action_scheduler_recurring_action_failure_threshold', 5 ); -
action_scheduler_recurring_action_is_consistently_failing
filter Used by 96 plugins → Copy link Customise this hook/** * 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 ); -
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, $priority ); -
/** * Filters whether the current user passes the capability check for notice * dismissal. */ apply_filters( 'astra_notices_user_cap_check', $has_cap ); -
/** * Fires after a new user has been created. */ do_action( 'edit_user_created_user', $result, 'both' ); -
/** * Filter to disable the REST API permission check for NPS Survey endpoints. */ apply_filters( 'nps_survey_api_disable_permission_check', false ); -
/** * Filter the API endpoint. */ apply_filters( 'nps_survey_api_endpoint', self::get_api_domain() . 'wp-json/bsf-metrics-server/v1/nps-survey/', $post_data, $nps_id ); -
/** * Filter to check if NPS Survey is enabled for admin only. */ apply_filters( 'nps_survey_enabled_for_admin_only', true ); -
/** * Filter the post data. This can be used to modify the post data before * sending it to the API. */ apply_filters( 'nps_survey_post_data', array( 'rating' => ! empty( $request['rating'] ) ? sanitize_text_field( strval( $request['rating'] ) ) : '', 'comment' => ! empty( $request['comment'] ) ? sanitize_text_field( strval( $request['comment'] ) ) : '', 'email' => $current_user->user_email, 'first_name' => ! empty( $current_user->first_name ) ? $current_user->first_name : $current_user->display_name, 'last_name' => ! empty( $current_... ); -
/** * Filter to determine if the NPS survey status should be updated. */ apply_filters( 'nps_survey_should_skip_status_update', false, array_merge( $data, array( 'nps_id' => $nps_id, 'action_type' => $type, ) ) ); -
/** * Filter to check if the NPS survey should be shown. */ apply_filters( 'nps_survey_show_notice', self::is_show_nps_survey_form( $plugin_slug, $display_after ), $plugin_slug ); -
/** * Language Locale for plugin */ apply_filters( 'plugin_locale', $get_locale, 'suredash' ); -
/** * 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 ); -
/** * 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 ); -
/** * Fires after a file is successfully uploaded via SureDash. */ do_action( 'suredash_after_file_upload', $uploaded_url, $move_file['file'], $move_file['type'], self::$user_id ); -
/** * Filter the list of extra iframe hosts allowed alongside WordPress's oEmbed * providers. Hosts are matched as exact strings or proper subdomains — the * same way oEmbed provider hosts are matched. */ apply_filters( 'suredash_allowed_iframe_hosts', [], $host, $url ); -
/** * Filter to allow external plugins (like suredash-pro) to add more email * triggers. */ apply_filters( 'suredash_available_email_triggers', $basic_triggers ); -
/** * Filters the block pattern categories. */ apply_filters( 'suredash_blocks_pattern_categories', $this->categories ); -
/** * Filter the maximum number of compatible spaces returned. */ apply_filters( 'suredash_compatible_spaces_limit', 200, $integration ); -
/** * Filter the list of compatible spaces before returning. */ apply_filters( 'suredash_compatible_spaces_list', $formatted, $integration ); -
/** * Filter meta keys that should be skipped when deep-cloning a post. */ apply_filters( 'suredash_deep_clone_skip_meta_keys', [ '_thumbnail_id', '_wp_page_template', '_edit_lock', '_edit_last' ], $source_post ); -
/** * Allow integrations to opt out of stripping Etch's frontend output on portal * pages. */ apply_filters( 'suredash_dequeue_etch_on_portal', true ); -
/** * Filter the post types for which WordPress default comment emails are * disabled. */ apply_filters( 'suredash_disable_comment_email_post_types', [ SUREDASHBOARD_POST_TYPE, SUREDASHBOARD_FEED_POST_TYPE, SUREDASHBOARD_SUB_CONTENT_POST_TYPE ] ); -
/** * Filter to handle content duplication. Pro plugin implements all item type * handlers. */ apply_filters( 'suredash_duplicate_content', null, $item_type, $source_post_id, $target_space_id, $new_title, [ 'source_course_id' => $source_course_id, 'section_index' => $section_index, 'target_section_index' => $target_section_index, ] ); -
/** * Filter the delay between batches in seconds. */ apply_filters( 'suredash_email_batch_delay', $this->batch_delay ); -
/** * Filter the batch size for email processing. */ apply_filters( 'suredash_email_batch_size', $this->batch_size ); -
/** * Filter email template variables. External plugins (like suredash-pro) can * add their own variable replacements using this filter. */ apply_filters( 'suredash_email_template_variables', $variables, $user, $context_data ); -
/** * Filter dynamic tags grouped by trigger. External plugins (like suredash-pro) * can add their own tags to specific triggers. */ apply_filters( 'suredash_email_trigger_tags', $trigger_tags, $trigger_key ); -
/** * Fires an action to enqueue additional scripts or styles for the search * block. */ do_action( 'suredash_enqueue_login_block_scripts', $block_attr, $block_id ); -
/** * Fires an action to enqueue additional scripts or styles for the categories * block. */ do_action( 'suredash_enqueue_register_block_scripts', $block_attr, $block_id ); -
/** * Filter the URL for the feeds page. */ apply_filters( 'suredash_feed_page_url', $url ); -
/** * SureDash Init. */ do_action( 'suredash_init' ); -
/** * Filters the languages directory path to use for plugin. */ apply_filters( 'suredash_languages_directory', $lang_dir ); -
/** * Filter the Learn tab chapters structure. */ apply_filters( 'suredash_learn_chapters', $chapters ); -
/** * Filter the post content before returning. */ apply_filters( 'suredash_post_content', $processed_content, $post_id, $content_type ); -
/** * Filter: surface the Edit button on quiz rows in the course-content listing. * Defaults to false — quizzes are authored via the Settings dialog. Pro / * integrations can flip this on if they ship a full quiz editor. */ apply_filters( 'suredash_quiz_edit_enabled', false ); -
/** * Fires after built-in abilities are registered. */ do_action( 'suredash_register_abilities', $this ); -
/** * Filter: adjust / extend an individual comment result object. */ apply_filters( 'suredash_search_comment_result', $result, $comment, $term ); -
/** * Filter: adjust WP_Comment_Query args used by search. */ apply_filters( 'suredash_search_comments_query_args', $query_args, $args ); -
/** * Filter: full override of the people search query. */ apply_filters( 'suredash_search_people_override', null, $query_args ); -
/** * Filter: adjust the user search (e.g. expand to additional roles or scope to * specific user IDs). */ apply_filters( 'suredash_search_people_query_args', $query_args, $args ); -
/** * Filter: adjust / extend an individual post result object. */ apply_filters( 'suredash_search_post_result', $result, $post, $term ); -
/** * Filter: allow Pro / third-party integrations to adjust the WP_Query args for * a given search type (e.g., lessons → add meta_query for content_type, * exclude link-type spaces, etc.). */ apply_filters( 'suredash_search_posts_query_args', $query_args, $search_type, $args ); -
/** * Filter: override the resolved kind + label for a space result. */ apply_filters( 'suredash_search_space_kind', [ 'kind' => $kind, 'label' => $label, ], $integration, $post ); -
/** * Filter: append / replace kind-specific meta signals. */ apply_filters( 'suredash_search_space_meta_signals', $signals, $post, $kind ); -
/** * Filter: title-search match mode. */ apply_filters( 'suredash_search_title_match_mode', 'contains' ); -
/** * Filter: restrict the search LIKE to post_title only. */ apply_filters( 'suredash_search_titles_only', false ); -
/** * Filter: profile URL for a user. Pro overrides this with a portal-aware * permalink if needed. */ apply_filters( 'suredash_search_user_profile_url', $default_profile_url, $user_id, $user ); -
/** * Filter the user-search query args. Lets membership/access plugins (e.g. * SureMembers) scope or restrict who can be enumerated through the search-user * endpoint. */ apply_filters( 'suredash_search_user_query_args', $user_query_args, $search ); -
/** * Filter: adjust / extend an individual people result object. */ apply_filters( 'suredash_search_user_result', $result, $user, $term ); -
/** * Change template directory path filter. */ apply_filters( 'suredash_set_template_path', untrailingslashit( SUREDASHBOARD_DIR ) . '/templates', $template, $args ); -
/** * Filter to override the automatic block detection. */ apply_filters( 'suredash_should_load_portal_assets', false, $post ); -
/** * Fires after a space is saved/created. */ do_action( 'suredash_space_deleted', $post_id ); -
/** * Fires after a space is saved/created. */ do_action( 'suredash_space_saved', $post_id, $post_data ); -
/** * Filter the update-content-settings response data. */ apply_filters( 'suredash_update_content_settings_response', $response_data, $content_id ); -
/** * Filter the body HTML of the new-post admin notification email. */ apply_filters( 'suredashboard_new_post_admin_email_message', $message, $post_id ); -
/** * Filters the post to build stylesheet for. */ apply_filters( 'suredashboard_post_for_stylesheet', $this_post ); -
/** * Overlay style: 'tab' (hangs off the top edge, fills for light thumbnails, * default) or 'tab-dark' (tab with inverted fills for dark thumbnails). */ apply_filters( 'suredashboard_pricing_badge_style', 'tab', $args ); -
apply_filters( 'the_content', $remote_wp_post->render_content() ); -
do_action( 'suredash_enqueue_scripts' ); -
apply_filters( 'suredash_post_protection', $get_only_status ? false : $restriction, $post_id ); -
apply_filters( 'suredashboard_library_icon', $custom_svg_markup, $icon_handle ); -
do_action( 'suredash_before_user_badges', $user_id ); -
apply_filters( 'suredash_community_accessible', true ); -
apply_filters( 'suredashboard_content_output', sprintf( ' <section class="portal-content-wrapper portal-wrapper"> <div class="portal-content-inner-wrap"> <div class="portal-aside-left portal-sticky-col portal-content"> [portal_navigation] </div> <div class="%1$s"> %2$s </div> </div> </section> ', 'portal-entry-container portal-post-content', '[portal_archive_content]' ) ); -
apply_filters( 'suredashboard_single_view_content', ob_get_clean() ); -
apply_filters( "{$key}_tracking_enabled", $is_enabled ); -
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 ); -
apply_filters( 'portal_localized_frontend_data', [ 'ajax_url' => admin_url( 'admin-ajax.php' ), 'password_mismatch_message' => Labels::get_label( 'password_mismatch_message' ), 'a11y_labels' => [ 'skip_to_content' => __( 'Skip to main content', 'suredash' ), 'comment_editor' => __( 'Comment on post', 'suredash' ), 'post_content' => __( 'Post content', 'suredash' ), ], 'notification_dataset' => [ 'success' => [ 'icon' => Helper::get_library_ic... ); -
apply_filters( 'suredash_image_preview_height_threshold', 200 ); -
apply_filters( 'suredash_portal_slug', $this->post_type ); -
apply_filters( 'suredash_post_backend_restriction_details', $status_data, $post_id ); -
apply_filters( 'suredash_post_enforce_excerpt_content', false ); -
apply_filters( 'suredash_search_comment_visible', true, $comment ); -
apply_filters( 'suredash_search_post_visible', true, $post_obj ); -
apply_filters( 'suredash_search_type_post_types', [ SUREDASHBOARD_POST_TYPE ], $search_type ); -
apply_filters( 'suredash_searchable_post_types', [ SUREDASHBOARD_POST_TYPE => __( 'Portal Spaces', 'suredash' ), SUREDASHBOARD_FEED_POST_TYPE => __( 'Portal Posts', 'suredash' ), SUREDASHBOARD_SUB_CONTENT_POST_TYPE => __( 'Portal Contents', 'suredash' ), ] ); -
apply_filters( 'suredash_user_avatar_markup', '<img class="portal-user-avatar ' . esc_attr( $size_class ) . '" src="' . esc_url( $profile_photo ) . '" alt="' . esc_attr( $alt_text ) . '" loading="lazy" />', $user_id ); -
do_action( 'suredashboard_after_wp_single_content_load', $feed_group_id ); -
apply_filters( 'suredashboard_all_endpoints', [ suredash_get_community_content_slug( 'lesson' ), suredash_get_community_content_slug( 'resource' ), suredash_get_community_content_slug( 'event' ), suredash_get_community_content_slug( 'quiz' ), ] ); -
apply_filters( 'suredashboard_archive_group_dynamic_css', '' ); -
do_action( 'suredashboard_before_wp_single_content_load', $feed_group_id ); -
apply_filters( 'suredashboard_icons_chunks', $icons_chunks ); -
do_action( 'suredashboard_quick_view_post_content', $p_id, $p_comments, '' ); -
do_action( 'suredashboard_single_comments_before' ); -
do_action( 'suredashboard_single_post_template', $p_id ); -
apply_filters( 'suredashboard_social_registration_form_change_new_user_role', 'suredash_user' ); -
apply_filters( 'suredashboard_user_posts_within', [ SUREDASHBOARD_FEED_POST_TYPE, ] ); -
apply_filters( 'suredashboard_user_queried_post_args', [ 'post_types' => [ $post_type ], 'user_id' => $user_id, 'posts_per_page' => $prefilter_cap, 'paged' => 1, ] ); -
apply_filters( "{$source}_white_label_options", array() ); -
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 ); -
apply_filters( 'action_scheduler_check_pastdue_actions', current_user_can( 'manage_options' ) ); -
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 ); -
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 ); -
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_pastdue_actions_check', $check, $num_pastdue_actions, $threshold_seconds, $threshold_min ); -
action_scheduler_pastdue_actions_check_interval
filter Used by 99 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_pastdue_actions_check_interval', round( $threshold_seconds / 4 ), $threshold_seconds ); -
action_scheduler_pastdue_actions_check_pre
filter Used by 100 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_pastdue_actions_check_pre', null ); -
action_scheduler_pastdue_actions_extra_notices
action Used by 99 plugins → Copy link Customise this hookdo_action( 'action_scheduler_pastdue_actions_extra_notices', $query_args ); -
apply_filters( 'action_scheduler_pastdue_actions_min', 1 ); -
action_scheduler_pastdue_actions_seconds
filter Used by 104 plugins → Copy link Customise this hookapply_filters( 'action_scheduler_pastdue_actions_seconds', DAY_IN_SECONDS ); -
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_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 ); -
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 ); -
do_action( 'astra_notice_after_markup' ); -
do_action( "astra_notice_after_markup_{$notice['id']}" ); -
do_action( 'astra_notice_before_markup' ); -
do_action( "astra_notice_before_markup_{$notice['id']}" ); -
do_action( "astra_notice_inside_markup_{$notice['id']}" ); -
apply_filters( 'brizy_content', $post->get_compiled_html(), \Brizy_Editor_Project::get(), $post->get_wp_post() ); -
do_action( 'bsf_admin_notice_after_markup' ); -
do_action( "bsf_admin_notice_after_markup_{$notice['id']}" ); -
do_action( 'bsf_admin_notice_before_markup' ); -
do_action( "bsf_admin_notice_before_markup_{$notice['id']}" ); -
do_action( "bsf_admin_notice_inside_markup_{$notice['id']}" ); -
apply_filters( 'bsf_admin_notices_user_cap_check', $cap_check ); -
apply_filters( 'bsf_core_stats', $this->get_default_stats() ); -
apply_filters( 'bsf_usage_tracking_enabled', true ); -
apply_filters( 'et_builder_inner_content_class', [ 'et_builder_inner_content' ] ); -
apply_filters( 'et_builder_outer_content_class', [ 'et_builder_outer_content' ] ); -
apply_filters( 'et_builder_outer_content_id', 'et_builder_outer_content' ); -
apply_filters( 'fl_builder_do_render_content', true, \FLBuilderModel::get_post_id() ); -
apply_filters( 'https_local_ssl_verify', false ); -
apply_filters( 'kadence_dynamic_css', '' ); -
apply_filters( 'nps_survey_api_domain', 'https://metrics.brainstormforce.com/' ); -
apply_filters( 'nps_survey_build_url', $default_build_url ); -
apply_filters( 'nps_survey_vars', [ 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), '_ajax_nonce' => wp_create_nonce( 'nps-survey' ), 'rest_api_nonce' => current_user_can( 'manage_options' ) ? wp_create_nonce( 'wp_rest' ) : '', ] ); -
apply_filters( 'portal_group_category_args', [ 'hierarchical' => true, 'label' => __( 'Portal Space Group', 'suredash' ), 'labels' => [ 'name' => __( 'Portal Space Group', 'suredash' ), 'singular_name' => __( 'Portal Space Group', 'suredash' ), 'menu_name' => _x( 'Portal Space Groups', 'Admin menu name', 'suredash' ), 'search_items' => __( 'Search Space Group', 'suredash' ), 'all_items' => __( 'All Space Groups', 'suredash' ), 'parent_ite... ); -
apply_filters( 'portal_labels_list', [ 'welcome_text' => Helper::get_option( 'welcome_text' ), 'home' => Helper::get_option( 'home_text' ), 'feeds_label' => Helper::get_option( 'feeds_label' ), 'back_to_portal' => __( 'Back to', 'suredash' ) . ' ' . Helper::get_option( 'portal_name', __( 'Portal', 'suredash' ) ), 'back_to_cpt' => __( 'Back to ', 'suredash' ), 'portal_singular_text' => __( 'Portal Item', 'suredash' ), 'portal_plura... ); -
apply_filters( 'portal_localized_admin_data', [ 'dashboard_url' => admin_url( 'admin.php?page=' . self::PAGE_ID ), 'edit_post_link' => admin_url( 'post.php?post={{POST_ID}}&action=edit' ), 'ajax_url' => admin_url( 'admin-ajax.php' ), 'wp_discussion_link' => admin_url( 'options-discussion.php' ), 'wp_general_settings_link' => admin_url( 'options-general.php' ), 'customize_link' => wp_is_block_theme() ? admin_url( '/site-editor.php?postId=su... ); -
apply_filters( 'portal_localized_editor_data', [ 'admin_base_url' => admin_url(), 'project_url' => SUREDASHBOARD_URL, 'category' => 'suredash', 'ID' => $post_id, 'is_allow_registration' => (bool) get_option( 'users_can_register' ), 'sd_override_wp_registration' => Helper::get_option( 'override_wp_registration' ), 'version' => SUREDASHBOARD_VER, 'svg_confirmation_nonce' => wp_create_nonce( 'svg_confirmation_nonce' ), 'ajax_url' => admin_url(... ); -
apply_filters( 'portal_localized_meta_editor_data', [ 'ajax_url' => admin_url( 'admin-ajax.php' ), 'content_id' => $post_id, 'label_slug' => __( 'Lesson Duration (in minutes)', 'suredash' ), 'placeholder_slug' => '12', 'lesson_duration_val' => sd_get_post_meta( absint( $post_id ), 'lesson_duration', true ), 'is_internal_single_cpt' => true, 'is_community_content_post_type' => $is_community_content && ! $is_resource_library_context, 'is_resource_... ); -
do_action( "portal_sanitize_setting_{$key}", $output[ $key ], $key ); -
apply_filters( 'portal_search_recent_items_cookie_duration', 7 * 86400 ); -
apply_filters( 'portal_search_recent_items_default_option', true ); -
apply_filters( 'portal_search_recent_items_limit', 4 ); -
apply_filters( 'portal_social_triggers', [ 'facebook' => [ 'label' => Labels::get_label( 'share_on_facebook' ), 'icon' => '<span class="portal-svg-icon portal-icon-sm" aria-hidden="true" aria-label="Facebook"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" style="fill: currentColor;"><path d="M504 256C504 119 393 8 256 8S8 119 8 256c0 123.8 90.69 226.4 209.3 245V327.7h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 ... ); -
do_action( 'portal_taxonomy_order_updated', $taxonomy_ordering_data, $base_index ); -
do_action( 'suredash_after_comment_deleted', $comment_id, $comment_author ); -
do_action( 'suredash_after_comment_edited', $comment_id, $current_user_id ); -
do_action( 'suredash_after_comment_submit', $comment_id, $current_user_id ); -
do_action( 'suredash_after_creating_post_content_for_space', $post_id, $space_id, $post_type, $space_type ); -
do_action( 'suredash_after_plugin_activation', $plugin_path, $plugin_slug ); -
do_action( 'suredash_after_post_deleted', $post_id, $post_author ); -
do_action( 'suredash_after_post_edited', $post_id, $current_user_id ); -
do_action( 'suredash_after_post_submit', $post_id, $filtered_data ); -
do_action( "suredash_after_register_{$this->post_type}_post_type" ); -
do_action( "suredash_after_register_{$this->taxonomy}_taxonomy" ); -
do_action( 'suredash_after_title_block', $space_id ); -
do_action( 'suredash_after_user_profile_update', $user_id ); -
apply_filters( 'suredash_allowed_html', $allowed_html ); -
apply_filters( 'suredash_archive_content_attributes', shortcode_atts( [ 'skip_header' => false, 'title' => get_the_archive_title(), ], $atts ) ); -
apply_filters( 'suredash_banner_placeholder_image', SUREDASHBOARD_URL . 'assets/images/banner-placeholder.jpg' ); -
do_action( "suredash_before_register_{$this->post_type}_post_type" ); -
do_action( "suredash_before_register_{$this->taxonomy}_taxonomy" ); -
do_action( 'suredash_before_title_block', $space_id ); -
apply_filters( 'suredash_bookmark_content', ob_get_clean() ); -
apply_filters( 'suredash_bsf_analytics_data', $stats_data ); -
apply_filters( 'suredash_color_palette_defaults', [ 'light' => [ '#2563EB', '#2563EB', '#191b1F', '#19283A', '#FFFFFF', '#F7F9FA', '#F1F3F5', '#E4E7EB', '#545861', ], 'dark' => [ '#FFFFFF', '#60A5FA', '#FFFFFF', '#E7F6FF', '#2A2E32', '#191B1F', '#42464D', '#42464D', '#E4E7EB', ], ] ); -
apply_filters( 'suredash_color_palette_names', [ __( 'Branding', 'suredash' ), __( 'Links', 'suredash' ), __( 'Headings', 'suredash' ), __( 'Text', 'suredash' ), __( 'Content Background', 'suredash' ), __( 'Portal Background', 'suredash' ), __( 'Alternate Background', 'suredash' ), __( 'Subtle Background', 'suredash' ), __( 'Other Supporting', 'suredash' ), ] ); -
apply_filters( 'suredash_comment_image_dimensions', self::DEFAULT_IMAGE_DIMENSIONS ); -
apply_filters( 'suredash_comment_max_file_size', Helper::get_option( 'user_upload_limit' ) * 1024 * 1024 ); -
do_action( 'suredash_community_content_deleted', $post_id ); -
apply_filters( "suredash_community_content_post_{$type}_slug", $type ); -
apply_filters( 'suredash_community_content_rewrite_rules', [ 'slug' => apply_filters( 'suredash_community_content_slug', $this->post_type ), 'with_front' => false, ] ); -
apply_filters( 'suredash_community_content_slug', $this->post_type ); -
apply_filters( 'suredash_community_forum_rewrite_rules', [ 'slug' => $this->taxonomy, 'with_front' => false, 'hierarchical' => true, ] ); -
apply_filters( 'suredash_community_post_rewrite_rules', [ 'slug' => apply_filters( 'suredash_community_post_slug', $this->post_type ), 'with_front' => false, ] ); -
apply_filters( 'suredash_community_post_slug', $this->post_type ); -
apply_filters( 'suredash_content_header_attributes', shortcode_atts( $defaults, $atts ) ); -
apply_filters( 'suredash_customize_portal_link', wp_is_block_theme() ? admin_url( '/site-editor.php?postId=suredash%2Fsuredash%2F%2Fportal&postType=wp_template&canvas=edit' ) : admin_url( '/site-editor.php?postType=wp_template_part&postId=suredash%2Fsuredash%2F%2Fportal&canvas=edit' ) ); -
apply_filters( 'suredash_deactivation_survey_data', [ [ 'id' => 'deactivation-survey-suredash', 'popup_logo' => SUREDASHBOARD_URL . 'assets/icons/icon.svg', 'plugin_slug' => 'suredash', 'popup_title' => __( 'Quick Feedback', 'suredash' ), 'support_url' => 'https://suredash.com/contact/', 'popup_description' => __( 'If you have a moment, please share why you are deactivating SureDash:', 'suredash' ), 'show_on_screens' => [ 'plugins' ], 'plugin_ve... ); -
do_action( 'suredash_dequeue_assets' ); -
apply_filters( 'suredash_discussion_space_restriction_content', '', $post_id ); -
apply_filters( 'suredash_editor_color_palette', $formatted_colors ); -
apply_filters( 'suredash_enable_redirect_activation', get_option( '__suredash_do_redirect' ) ); -
do_action( 'suredash_entity_like_reaction', $entity_id, $entity_type, $like_status, $current_user_id ); -
apply_filters( 'suredash_excerpt_length', absint( $length ), $post_id ); -
apply_filters( 'suredash_feed_category_args', [ 'hierarchical' => true, 'label' => __( 'Forums', 'suredash' ), 'labels' => [ 'name' => __( 'Forums', 'suredash' ), 'singular_name' => __( 'Forum', 'suredash' ), 'menu_name' => _x( 'Forums', 'Admin menu name', 'suredash' ), 'search_items' => __( 'Search Forum', 'suredash' ), 'all_items' => __( 'All Forums', 'suredash' ), 'parent_item' => __( 'Parent Forum', 'suredash' ), 'parent_item_colon' =>... ); -
apply_filters( 'suredash_feeds_icon', $feeds_icon ); -
apply_filters( 'suredash_frontend_search_portal_id', 0 ); -
apply_filters( 'suredash_get_excerpt', $text, $post_id ); -
apply_filters( 'suredash_home_content', $content, $type ); -
apply_filters( 'suredash_identity_block_url', $home_link ); -
apply_filters( 'suredash_inserting_default_comment_status', (string) get_option( 'default_comment_status', 'open' ) ); -
apply_filters( 'suredash_inserting_default_post_status', 'publish' ); -
do_action( 'suredash_item_bookmark', $item_id, $item_type, $status, $user_id ); -
apply_filters( 'suredash_lightbox_gallery_selectors', '.wp-block-gallery' ); -
apply_filters( 'suredash_lightbox_single_selectors', '.wp-block-media-text, .wp-block-image, .wp-block-uagb-image__figure, .suredash-image-preview-wrapper' ); -
apply_filters( 'suredash_login_block_attributes', [ 'block_id' => [ 'type' => 'string', 'default' => '', ], 'usernameLabel' => [ 'type' => 'string', 'default' => 'Username or Email Address', ], 'usernamePlaceholder' => [ 'type' => 'string', 'default' => 'Username', ], 'passwordLabel' => [ 'type' => 'string', 'default' => 'Password', ], 'passwordPlaceholder' => [ 'type' => 'string', 'default' => 'Password', ], 'rememberMeLabel' => [ 'type' => '... ); -
do_action( 'suredash_login_form_user_reset_password', $user ); -
apply_filters( 'suredash_max_number_of_thread_likers', 5 ); -
apply_filters( 'suredash_meta_editor_localize_data', $localize_data, $post_id, $is_resource_library_context ); -
apply_filters( 'suredash_notification_attributes', shortcode_atts( [], $atts ) ); -
apply_filters( 'suredash_notifications_max_stored', self::MAX_STORED ); -
apply_filters( 'suredash_overridable_endpoints', [ 'user-profile', 'bookmarks', 'leaderboard', 'members', 'resource-history', 'user-view', ] ); -
apply_filters( 'suredash_page_heading', Labels::get_label( 'welcome_text' ) . ' ' . suredash_get_user_display_name() ); -
apply_filters( 'suredash_perform_template_include', $status ); -
apply_filters( 'suredash_placeholder_image', SUREDASHBOARD_URL . 'assets/images/placeholder.jpg' ); -
apply_filters( 'suredash_portal_group_rewrite_rules', [ 'slug' => $this->taxonomy, 'with_front' => false, 'hierarchical' => true, ] ); -
apply_filters( 'suredash_portal_page_targets', [ 'leaderboard' => [ 'label' => __( 'Leaderboard', 'suredash' ), 'url' => '/{portal_slug}/leaderboard/', 'icon' => 'Trophy', 'pro' => true, 'sub_query' => 'leaderboard', 'description' => __( 'Points ranking of portal members.', 'suredash' ), ], 'members' => [ 'label' => __( 'Member Directory', 'suredash' ), 'url' => '/{portal_slug}/members/', 'icon' => 'Users', 'pro' => true, 'sub_query' => 'me... ); -
apply_filters( 'suredash_portal_rewrite_rules', [ 'slug' => apply_filters( 'suredash_portal_slug', $this->post_type ), 'with_front' => false, ] ); -
do_action( 'suredash_post_restriction_after_check', $ruleset, $post_id ); -
do_action( 'suredash_post_restriction_before_check', $ruleset, $post_id ); -
apply_filters( 'suredash_post_restriction_ruleset', $ruleset, $post_id ); -
apply_filters( 'suredash_posts_cpt_args', [ 'labels' => $this->post_type_labels, 'public' => true, 'show_ui' => true, 'show_in_menu' => false, 'query_var' => true, 'can_export' => true, 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'exclude_from_search' => true, 'has_archive' => true, 'show_in_rest' => true, 'rewrite' => apply_filters( 'suredash_community_post_rewrite_rules', [ 'slug' => apply_filters( 'suredash_community_p... ); -
apply_filters( 'suredash_posts_forum_prefix', __( 'Forum:', 'suredash' ) ); -
do_action( 'suredash_process_fonts', $settings['font_family'] ?? '' ); -
apply_filters( 'suredash_queue_style_assets', [ 'kadence-global', 'bricks-frontend', 'kadence-content', ] ); -
do_action( 'suredash_quick_view_resource_content', $p_id, $hide_fullscreen ); -
apply_filters( 'suredash_registration_form_role_manager', $user_is_admin ); -
do_action( "suredash_render_sidebar_widget_{$widget_slug}", $widget, $space_id ); -
apply_filters( 'suredash_rest_routes', [ '/submit-topic/' => [ 'method' => 'POST', 'callback' => [ MiscRoute::get_instance(), 'submit_post' ], 'permission_callback' => 'user', ], '/load-more-posts/' => [ 'method' => 'POST', 'callback' => [ MiscRoute::get_instance(), 'load_more_posts' ], 'permission_callback' => ! Helper::get_option( 'hidden_community' ) ? false : 'user', ], '/load-more-comments/' => [ 'method' => 'POST', 'callback' ... ); -
apply_filters( 'suredash_search_comments_enabled', true ); -
apply_filters( 'suredash_search_custom_count', null, $type, $args ); -
apply_filters( 'suredash_search_custom_query', null, $type, $args ); -
apply_filters( 'suredash_search_space_default_icon', $name, $kind ); -
apply_filters( 'suredash_search_tab_labels', $default ); -
apply_filters( 'suredash_search_types', $default ); -
do_action( 'suredash_settings_updated', $old_settings, $settings ); -
apply_filters( 'suredash_show_discussion_space_content', true, $post_id ); -
apply_filters( 'suredash_single_post_content_classes', suredash_is_post_by_block_editor( $post_id ) ? 'sd-overflow-hidden suredash-single-content portal-space-post-content' : 'sd-overflow-hidden suredash-single-content' ); -
apply_filters( 'suredash_skip_post_types', [ 'attachment', 'product', 'sc_product', 'revision', 'nav_menu_item', 'astra-advanced-hook', 'astra_adv_header', 'elementor_library', 'brizy_template', 'course', 'courses', 'lesson', 'llms_membership', 'tutor_quiz', 'tutor_assignments', 'testimonial', 'frm_display', 'mec_esb', 'mec-events', 'sfwd-assignment', 'sfwd-essays', 'sfwd-transactions', 'sfwd-certificates', 'sfwd-quiz', 'e-landing-page'... ); -
apply_filters( 'suredash_skip_restricted_post', false, $post_id ); -
apply_filters( 'suredash_sm_hide_restricted', false ); -
apply_filters( 'suredash_sm_locked_placeholder', __( 'This content is restricted to members. Unlock access to view the full post.', 'suredash' ) ); -
apply_filters( 'suredash_sm_space_type_registry', $registry ); -
apply_filters( 'suredash_solid_color_placeholder_image', $solid_background_markup ); -
do_action( 'suredash_space_data_updated', $post_id, $old_space_data, $new_space_data ); -
apply_filters( 'suredash_title_block_set', [ 'emoji' => '', 'title' => $title_placeholder, ] ); -
do_action( 'suredash_update_after' ); -
do_action( 'suredash_update_before' ); -
do_action( 'suredash_update_user_data', $user_id, $key, $value ); -
apply_filters( 'suredash_user_profile_attributes', shortcode_atts( [], $atts ) ); -
apply_filters( 'suredash_user_profile_fields', [ 'display_name' => [ 'label' => Labels::get_label( 'display_name' ), 'placeholder' => __( 'Enter', 'suredash' ) . ' ' . Labels::get_label( 'display_name' ), 'value' => ! empty( $display_name ) ? $display_name : '', 'type' => 'input', ], 'user_url' => [ 'label' => Labels::get_label( 'website' ), 'placeholder' => __( 'Enter', 'suredash' ) . ' ' . Labels::get_label( 'website' ), 'value' => ! empt... ); -
apply_filters( 'suredash_user_profile_social_links', [ 'mail' => [ 'label' => 'E-mail', 'value' => $social_links['mail'] ?? '', 'placeholder' => 'username@example.com', 'icon' => 'Mail', ], 'facebook' => [ 'label' => 'Facebook', 'value' => $social_links['facebook'] ?? '', 'placeholder' => 'https://facebook.com/username', 'icon' => 'Facebook', ], 'x' => [ 'label' => 'X', 'value' => $social_links['x'] ?? '', 'placeholder' => 'https://x.com/username... ); -
apply_filters( 'suredash_user_role_caps', $caps ); -
apply_filters( 'suredash_user_view_show_comments', true, $user_id ); -
apply_filters( 'suredash_user_view_show_posts', true, $user_id ); -
apply_filters( "suredashboard_{$endpoint}_endpoint_data", $args, $endpoint, $base_id ); -
apply_filters( "suredashboard_{$label_name}_text", $translated_label, $label_name ); -
apply_filters( 'suredashboard_404_content_output', sprintf( ' <section class="portal-content-area sd-flex sd-justify-center sd-items-center portal-not-found-wrapper"> %1$s </section> ', sprintf( ' <div class="portal-content sd-flex sd-flex-col sd-gap-16 sd-max-w-custom sd-mx-auto sd-mt-30 sd-mb-32 sd-text-center sd-items-center sd-p-custom" style="--sd-max-w-custom: 600px; --sd-p-custom: 40px; margin: 32px auto;"> <img src="%1$s" alt="%2$s" cla... ); -
apply_filters( 'suredashboard_admin_notifications_dataset', $dataset ); -
do_action( 'suredashboard_after_archive_content_load' ); -
do_action( 'suredashboard_after_post_creation_modal', $this->active_space_id ); -
do_action( 'suredashboard_after_single_comments_load', $this->post_id ); -
do_action( 'suredashboard_after_single_content_load', $post_id ); -
apply_filters( 'suredashboard_all_screens', [ 'notification', ] ); -
apply_filters( 'suredashboard_badge_markup', $badge, $type ); -
apply_filters( 'suredashboard_bb_render_content_by_id', false ); -
do_action( 'suredashboard_before_archive_content_load' ); -
apply_filters( 'suredashboard_before_foreground_color_generation', $hex ); -
do_action( 'suredashboard_before_single_comments_load', $this->post_id ); -
do_action( 'suredashboard_before_single_content_load', $post_id ); -
apply_filters( 'suredashboard_block_register_user_args', [ 'user_login' => $username, 'user_pass' => $password, 'user_email' => $email, 'first_name' => $first_name, 'last_name' => $last_name, 'user_registered' => gmdate( 'Y-m-d H:i:s' ), 'role' => $role, ] ); -
apply_filters( 'suredashboard_bookmarked_items', $bookmarked_items, $user_id ); -
apply_filters( 'suredashboard_check_block_presence', $presence, $tag ); -
apply_filters( 'suredashboard_common_notifications_dataset', $dataset ); -
apply_filters( 'suredashboard_dashboard_rest_options', self::get_default_settings() ); -
apply_filters( 'suredashboard_emojis_library', $portal_all_emojis ); -
apply_filters( 'suredashboard_forgot_password_mail_message', $message ); -
apply_filters( 'suredashboard_global_dynamic_css', self::$global_css ); -
apply_filters( 'suredashboard_group_meta_dataset', [ 'term_name' => [ 'default' => '', 'type' => 'string', ], 'term_description' => [ 'default' => '', 'type' => 'string', ], 'homegrid_spaces' => [ 'default' => [], 'type' => 'array', ], 'hide_label' => [ 'default' => false, 'type' => 'boolean', ], ] ); -
apply_filters( 'suredashboard_group_meta_value', $meta_value, $term_id, $meta_key ); -
apply_filters( 'suredashboard_lightbox_dynamic_css', $css ); -
apply_filters( 'suredashboard_login_options', [ 'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ), 'nonce' => wp_create_nonce( 'suredash_forgot_password' ), 'post_id' => get_the_ID(), 'block_id' => $block_id, 'captchaType' => $block_attr['spamProtection'], 'enableReCaptcha' => $block_attr['reCaptchaEnable'], 'recaptchaVersion' => $block_attr['reCaptchaType'], 'recaptchaSiteKey' => Helper::get_option( 'recaptcha_site_key_' . $block_att... ); -
apply_filters( 'suredashboard_login_redirection', $login_page_id ? get_permalink( $login_page_id ) : wp_login_url() ); -
apply_filters( 'suredashboard_non_logged_in_user_header', ob_get_clean() ); -
apply_filters( 'suredashboard_notification_default_args', [ 'timestamp' => suredash_get_timestamp(), ] ); -
apply_filters( 'suredashboard_notifier_instance', $this->notifier ); -
apply_filters( 'suredashboard_portal_community_content_cpt_args', [ 'labels' => $this->post_type_labels, 'public' => true, 'show_ui' => true, 'show_in_menu' => false, 'query_var' => true, 'can_export' => true, 'show_in_admin_bar' => true, 'show_in_nav_menus' => true, 'exclude_from_search' => true, 'has_archive' => true, 'show_in_rest' => true, 'rewrite' => apply_filters( 'suredash_community_content_rewrite_rules', [ 'slug' => apply_filters( 'suredash_communit... ); -
apply_filters( 'suredashboard_portal_community_content_cpt_labels', [ 'name' => esc_html_x( 'Community Content', 'content general name', 'suredash' ), 'singular_name' => esc_html_x( 'Community Content', 'content singular name', 'suredash' ), 'search_items' => esc_html__( 'Search Community Content', 'suredash' ), 'all_items' => esc_html__( 'Community Content', 'suredash' ), 'edit_item' => esc_html__( 'Edit Community Content', 'suredash' ), 'view_item' => esc_htm... ); -
apply_filters( 'suredashboard_portal_cpt_args', [ 'labels' => $this->post_type_labels, 'public' => true, 'show_ui' => true, 'show_in_menu' => false, 'query_var' => true, 'can_export' => true, 'show_in_admin_bar' => false, 'show_in_nav_menus' => true, 'exclude_from_search' => true, 'has_archive' => true, 'show_in_rest' => true, 'rewrite' => apply_filters( 'suredash_portal_rewrite_rules', [ 'slug' => apply_filters( 'suredash_portal_slug', $thi... ); -
apply_filters( 'suredashboard_portal_cpt_labels', [ 'name' => esc_html_x( 'Portal Spaces', 'portals general name', 'suredash' ), 'singular_name' => esc_html_x( 'Portal Space', 'portal singular name', 'suredash' ), 'search_items' => esc_html__( 'Search Space', 'suredash' ), 'all_items' => esc_html__( 'Portal Spaces', 'suredash' ), 'edit_item' => esc_html__( 'Edit Space', 'suredash' ), 'view_item' => esc_html__( 'View Space', 'suredash' ), 'add_... ); -
apply_filters( 'suredashboard_portal_posts_cpt_labels', [ 'name' => esc_html_x( 'Community Posts', 'content general name', 'suredash' ), 'singular_name' => esc_html_x( 'Community Post', 'content singular name', 'suredash' ), 'search_items' => esc_html__( 'Search Community Post', 'suredash' ), 'all_items' => esc_html__( 'Community Posts', 'suredash' ), 'edit_item' => esc_html__( 'Edit Community Post', 'suredash' ), 'view_item' => esc_html__( 'View Co... ); -
apply_filters( 'suredashboard_portal_sub_queries', [ 'user-profile', 'bookmarks', 'user-view', 'feeds', 'screen', 'leaderboard', 'members', ] ); -
apply_filters( 'suredashboard_post_meta_dataset', [ 'post_title' => [ 'default' => '', 'type' => 'string', ], 'item_emoji' => [ 'default' => 'Link', 'type' => 'string', ], 'integration' => [ 'default' => 'none', 'type' => 'string', ], 'post_content_type' => [ 'default' => 'excerpt', 'type' => 'string', ], 'image_url' => [ 'default' => '', 'type' => 'string', ], 'banner_url' => [ 'default' => '', 'type' => 'string', ], 'course_thumbnail_url' =>... ); -
apply_filters( 'suredashboard_post_meta_value', $meta_value, $post_id, $meta_key ); -
apply_filters( 'suredashboard_read_more_link', get_permalink( $post_id ), $post_id ); -
apply_filters( 'suredashboard_register_options', [ 'cannot_be_blank' => esc_html__( 'cannot be blank.', 'suredash' ), 'first_name' => esc_html__( 'First Name', 'suredash' ), 'last_name' => esc_html__( 'Last Name', 'suredash' ), 'this_field' => esc_html__( 'This field', 'suredash' ), 'redirect_url' => home_url( '/' . suredash_get_community_slug() . '/' ), 'ajax_url' => esc_url( admin_url( 'admin-ajax.php' ) ), 'post_id' => get_the_ID(), 'block... ); -
apply_filters( 'suredashboard_restrict_item_comments', false, $item_id ); -
apply_filters( 'suredashboard_restriction_defaults', [ 'status' => false, 'content' => '', ] ); -
apply_filters( 'suredashboard_settings_color_preset', $palette_colors ); -
apply_filters( 'suredashboard_settings_dataset', [ 'portal_name' => [ 'default' => get_bloginfo( 'name' ), 'type' => 'string', ], 'logo_url' => [ 'default' => '', 'type' => 'string', ], 'hide_branding' => [ 'default' => false, 'type' => 'boolean', ], 'feeds_per_page' => [ 'default' => 5, 'type' => 'number', ], 'user_upload_limit' => [ 'default' => 2, 'type' => 'number', ], 'profile_upload_limit' => [ 'default' => 2, 'type' => 'number', ], 'by... ); -
apply_filters( 'suredashboard_settings_excluded_roles', [] ); -
do_action( 'suredashboard_single_comment_template', $p_id ); -
do_action( 'suredashboard_single_comments_after' ); -
do_action( 'suredashboard_single_comments_after_form' ); -
do_action( 'suredashboard_single_comments_before_form' ); -
apply_filters( 'suredashboard_single_item_css', $css ); -
apply_filters( 'suredashboard_single_item_dynamic_css', $css ); -
apply_filters( 'suredashboard_single_view_comments', ob_get_clean(), $this->post_id ); -
apply_filters( 'suredashboard_topic_image_supports', '.jpg, .jpeg, .gif, .png, .webp' ); -
apply_filters( 'suredashboard_uploads_base', '/suredashboard/' . self::$user_id ); -
apply_filters( 'suredashboard_user_notification_visited', $notification_visited ); -
apply_filters( 'suredashboard_user_notifications_dataset', $dataset ); -
apply_filters( 'suredashboard_username_prefix', '' ); -
apply_filters( 'suremembers_restricted_dripped_message', $default_message, (string) $time ); -
apply_filters( 'uds_default_deactivation_reasons', array( 'temporary_deactivation' => array( 'label' => esc_html__( 'This is a temporary deactivation for testing.' ), 'placeholder' => esc_html__( 'How can we assist you?' ), 'show_cta' => 'false', 'accept_feedback' => 'false', ), 'plugin_not_working' => array( 'label' => esc_html__( 'The plugin isn\'t working properly.' ), 'placeholder' => esc_html__( 'Please tell us more about what went wrong?'... ); -
apply_filters( 'uds_survey_allowed_screens', array( 'plugins' ) ); -
apply_filters( 'uds_survey_vars', array( 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), '_ajax_nonce' => wp_create_nonce( 'uds_plugin_deactivate_feedback' ), '_current_theme' => function_exists( 'wp_get_theme' ) ? wp_get_theme()->get_template() : '', '_plugin_slug' => array(), ) ); -
do_action( 'validate_password_reset', $errors, $user ); -
do_action( 'wp_login', $user_data->user_login, $user_data ); -
do_action( 'wp_query_builder_column_builder', $this ); -
do_action( "wp_query_builder_column_builder_{$this->id}", $this ); -
do_action( 'wp_query_builder_count_builder', $this ); -
do_action( "wp_query_builder_count_builder_{$this->id}", $this ); -
do_action( 'wp_query_builder_delete_builder', $this ); -
do_action( "wp_query_builder_delete_builder_{$this->id}", $this ); -
apply_filters( 'wp_query_builder_found_rows_query', $query ); -
apply_filters( "wp_query_builder_found_rows_query_{$this->id}", $query ); -
do_action( 'wp_query_builder_get_builder', $this ); -
do_action( "wp_query_builder_get_builder_{$this->id}", $this ); -
apply_filters( 'wp_query_builder_get_query', $query ); -
apply_filters( "wp_query_builder_get_query_{$this->id}", $query ); -
do_action( 'wp_query_builder_one_builder', $this ); -
do_action( "wp_query_builder_one_builder_{$this->id}", $this ); -
apply_filters( 'wp_query_builder_one_query', $query ); -
apply_filters( "wp_query_builder_one_query_{$this->id}", $query ); -
do_action( 'wp_query_builder_value_builder', $this ); -
do_action( "wp_query_builder_value_builder_{$this->id}", $this );
Generated from SureDash'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: