Spectra Legacy 2.20.7 has 62 actions and 170 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 Spectra Legacy fires an action
add_action( 'ast_block_templates_after_block_import', function( $block_id, $block_type, $category ) {
// Your code runs here.
}, 10, 3 );
// Change a value Spectra Legacy is about to use
add_filter( 'ast_block_templates_show_version_toggle', 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.
Changes by version
2.20.6 → 2.20.7 · Nov 18, 2026 · 15 added, 2 removed
Added
- filter
ast_block_templates_remote_ajax_path - filter
bsf_activate_license_args - action
bsf_activate_license_{$product_id}_after_success - action
bsf_product_update_{$value} - filter
bsf_is_product_bundled - filter
bsf_license_status_args - action
ast_block_templates_after_block_import - filter
ast_block_templates_installable_plugins - filter
ast_block_templates_disable_editor_button - filter
ast_block_templates_spectra_blocks_pro_basename - filter
ast_block_templates_show_version_toggle - action
ast_block_templates_global_styles - action
ast_block_templates_enable_force_sync - filter
ast_block_templates_disable_force_sync - action
ast_block_templates_after_kit_import
Removed
- filter
wpb_languages_directory - filter
ast_block_templates_bypass_auth
All hooks
-
/** * Filter to modify the visibility of version toggle. */ apply_filters( 'ast_block_templates_show_version_toggle', false ); -
/** * Filters the block attributes for CSS and JS generation. */ apply_filters( 'uagb_block_attributes_for_css_and_js', $block['attrs'], $name ); -
/** * Filters the post to build stylesheet for. */ apply_filters_deprecated( 'uagb_post_for_stylesheet', array( $this_post ), '1.23.0' ); -
/** * 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 ); -
/** * Should wp_die be used? */ apply_filters( "{$this->identifier}_wp_die", true ); -
/** * Fires after a block is successfully imported. */ do_action( 'ast_block_templates_after_block_import', $block_id, $block_type, $category ); -
/** * Fires after a template kit is successfully imported. */ do_action( 'ast_block_templates_after_kit_import', $content ); -
/** * Allows plugins to disable only the Design Library editor button and its * assets without disabling the full library (sync, import, REST API, etc.). */ apply_filters( 'ast_block_templates_disable_editor_button', false ); -
/** * Filter to disable force sync on Spectra plugin install or update. */ apply_filters( 'ast_block_templates_disable_force_sync', false ); -
/** * Action to trigger force sync of block templates. */ do_action( 'ast_block_templates_enable_force_sync' ); -
/** * Plugins the library is allowed to activate on the user's behalf. */ apply_filters( 'ast_block_templates_installable_plugins', array( 'ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php', 'spectra-blocks/spectra-blocks.php', 'wpforms-lite/wpforms.php', 'sureforms/sureforms.php', ) ); -
/** * Filters the remote ajax path appended to the BSF API site URL. */ apply_filters( 'ast_block_templates_remote_ajax_path', 'wp-admin/admin-ajax.php' ); -
/** * Filters whether the current user passes the capability check for notice * dismissal. */ apply_filters( 'astra_notices_user_cap_check', $has_cap ); -
/** * Filters the languages directory path to use for plugin. */ apply_filters( 'bsf_utm_analytics_languages_directory', $lang_dir ); -
/** * Filter the API endpoint. */ apply_filters( 'nps_survey_api_endpoint', self::get_api_domain() . 'wp-json/bsf-metrics-server/v1/nps-survey/', $post_data ); -
/** * 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' => $current_user->first_name ?? $current_user->display_name, 'last_name' => $current_user->last_name ?? '', 'source' => ! empty( $re... ); -
/** * Onboarding completion action */ do_action( 'one_onboarding_completion', $completion_data, $request ); -
/** * Product-specific onboarding completion action */ do_action( "one_onboarding_completion_{$product_id}", $completion_data, $request ); -
/** * One Onboarding localized data */ apply_filters( 'one_onboarding_localized_data', array( 'productId' => $product_id, 'ajaxUrl' => admin_url( 'admin-ajax.php' ), 'nonce' => wp_create_nonce( esc_attr( $product_id . '_onboarding_nonce' ) ), 'userInfo' => self::get_current_user_info(), 'title' => $onboarding_data['title'] ?? '', 'logoSvg' => $onboarding_data['logo_svg'] ?? '', 'logoUrl' => esc_url( is_string( $onboarding_data['logo'] ) ? $onboarding_data['logo'] : ONE_ONBOARDING... ); -
/** * Plugin activated action */ do_action( 'one_onboarding_plugin_activated', $plugin_slug, $plugin_file, $request ); -
/** * Onboarding state saved action */ do_action( 'one_onboarding_state_saved', $state_data, $request ); -
/** * Product-specific onboarding state saved action */ do_action( "one_onboarding_state_saved_{$product_id}", $state_data, $request ); -
/** * Language Locale for plugin */ apply_filters( 'plugin_locale', $get_locale, 'bsf-utm-analytics' ); -
/** * Context for filesystem, default false. */ apply_filters( 'request_filesystem_credentials_context', false ); -
/** * Spectra loaded. */ do_action( 'spectra_core_loaded' ); -
/** * Filter learn chapters structure. */ apply_filters( 'spectra_learn_chapters', (array) $chapters ); -
/** * Fires after Spectra learn progress is saved. */ do_action( 'spectra_learn_progress_saved', $saved_progress ); -
/** * Attributes File. */ apply_filters( 'uagb_disable_v_h_padding', false ); -
/** * Added filter to attributes to support Dynamic Content. */ apply_filters( 'uagb_google_map_block_attributes', $attributes ); -
/** * Token lookup for the ipinfo.io fallback. */ apply_filters( 'uagb_ipinfo_token', get_option( 'uagb_ipinfo_token', '' ) ); -
/** * Filters the languages directory path to use for AffiliateWP. */ apply_filters( 'uagb_languages_directory', UAGB_ROOT . '/languages/' ); -
/** * Get the additional roles to add the custom capability. */ apply_filters( 'zip_ai_assistant_capability_additional_roles', array( 'administrator', 'editor' ) ); -
apply_filters( "uagb_single_post_link_{$attributes['post_type']}", get_the_permalink(), get_the_ID(), $attributes ); -
do_action( 'ast_block_templates_sync_blocks_requests', $data['count']['pages'] ); -
do_action( 'ast_block_templates_sync_categories', $data['categories'] ); -
apply_filters( "{$key}_tracking_enabled", $is_enabled ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
apply_filters( 'ast_block_templates_api_args', array( 'timeout' => 15, ) ); -
apply_filters( 'ast_block_templates_api_params', array( '_fields' => 'original_content', ) ); -
apply_filters( 'spectra_system_fonts', array() ); -
apply_filters( 'uagb_blocks_allowed_in_excerpt', $allowed, array( 'uagb/advanced-heading' ) ); -
apply_filters( 'uagb_blocks_show_google_fonts', true ); -
apply_filters( 'uagb_default_blocks_editor_spacing', self::get_admin_settings_option( 'uag_blocks_editor_spacing', 0 ) ); -
apply_filters( 'uagb_loop_post_types', $options ); -
do_action( "uagb_single_post_after_cta_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_after_excerpt_{$attributes['post_type']}", get_the_ID(), $attributes ); -
uagb_single_post_after_featured_image_{$attributes['post_type']}
action Copy link Customise this hookdo_action( "uagb_single_post_after_featured_image_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_after_meta_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_after_title_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_before_cta_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_before_excerpt_{$attributes['post_type']}", get_the_ID(), $attributes ); -
uagb_single_post_before_featured_image_{$attributes['post_type']}
action Copy link Customise this hookdo_action( "uagb_single_post_before_featured_image_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_before_meta_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_single_post_before_title_{$attributes['post_type']}", get_the_ID(), $attributes ); -
apply_filters( "uagb_single_post_excerpt_{$attributes['post_type']}", $excerpt, get_the_ID(), $attributes ); -
apply_filters( 'zip_ai_library_textdomain', 'zip-ai' ); -
apply_filters( "{$source}_white_label_options", array() ); -
apply_filters( "{$this->identifier}_default_time_limit", 20 ); -
apply_filters( "{$this->identifier}_memory_exceeded", $return ); -
apply_filters( "{$this->identifier}_queue_lock_time", $lock_duration ); -
apply_filters( "{$this->identifier}_time_exceeded", $return ); -
apply_filters( 'aist/replace_content', serialize_blocks( $this->get_updated_blocks( $blocks, $dynamic_content ) ) ); -
apply_filters( 'ast_block_template_capability_additional_roles', array( 'administrator' ) ); -
apply_filters( 'ast_block_templates_authorization_url_param', array( 'type' => 'token', 'scs-authorize' => true, 'source' => 'spectra', ) ); -
apply_filters( 'ast_block_templates_blocks_args', array( 'page_builder' => 'gutenberg', 'per_page' => 30, 'page' => $page, 'wireframe' => 'yes', 'spectra-blocks-ver' => $this->get_spectra_blocks_version(), ) ); -
apply_filters( 'ast_block_templates_checksums_status', $checksums_status ); -
do_action( 'ast_block_templates_customizer_css', $res_data['data']['customizer_css'] ); -
apply_filters( 'ast_block_templates_debug_logs', false ); -
apply_filters( 'ast_block_templates_disable', false ); -
apply_filters( 'ast_block_templates_disable_auto_sync', false ); -
apply_filters( 'ast_block_templates_exclude_post_types', array( 'sureforms_form' ) ); -
apply_filters( 'ast_block_templates_get_blocks_count_args', array( 'page_builder' => 'gutenberg', 'wireframe' => 'yes', 'per_page' => 30, ) ); -
apply_filters( 'ast_block_templates_get_category_args', array( 'per_page' => 100, '_fields' => 'id,count,name,slug,parent', 'hide_empty' => true, ) ); -
apply_filters( 'ast_block_templates_get_sites_and_pages_args', array( 'per_page' => 30, 'page' => $page, 'page-builder' => 'gutenberg', 'spectra-blocks-ver' => $this->get_spectra_blocks_version(), ) ); -
apply_filters( 'ast_block_templates_get_total_pages_args', array( 'page_builder' => 'gutenberg', 'per_page' => 30, 'spectra-blocks-ver' => $this->get_spectra_blocks_version(), ) ); -
do_action( 'ast_block_templates_global_styles', $res_data['data']['global_styles'] ); -
apply_filters( 'ast_block_templates_image_importer_skip_image', false, $attachment ); -
apply_filters( 'ast_block_templates_library_url', 'https://websitedemos.net/' ); -
apply_filters( 'ast_block_templates_localize_vars', array( 'popup_class' => defined( 'UAGB_PLUGIN_SHORT_NAME' ) ? 'uag-block-templates-lightbox' : 'ast-block-templates-lightbox', 'ajax_url' => admin_url( 'admin-ajax.php' ), 'uri' => AST_BLOCK_TEMPLATES_URI, 'wpforms_status' => $this->get_plugin_status( 'wpforms-lite/wpforms.php' ), 'sureforms_status' => $this->get_plugin_status( 'sureforms/sureforms.php' ), 'spectra_status' => $this->get_plugin_... ); -
apply_filters( 'ast_block_templates_pro_url', 'https://wpastra.com/starter-templates-plans/?utm_source=gutenberg-templates&utm_medium=dashboard&utm_campaign=Starter-Template-Backend' ); -
apply_filters( 'ast_block_templates_spectra_blocks_pro_basename', 'spectra-blocks-pro/spectra-blocks-pro.php' ); -
do_action( 'ast_block_templates_sync_blocks', $page, $all_blocks ); -
do_action( 'ast_block_templates_sync_export_checksum', $new_checksum ); -
do_action( 'ast_block_templates_sync_get_total_pages', $total_requests['pages'] ); -
do_action( 'ast_block_templates_sync_sites', $page, $all_blocks ); -
do_action( 'ast_block_templates_update_after' ); -
do_action( 'ast_block_templates_update_before' ); -
do_action( 'ast_block_templates_updated', $saved_version, AST_BLOCK_TEMPLATES_VER ); -
apply_filters( 'ast_block_templates_white_label', false ); -
apply_filters( 'ast_block_templates_white_label_name', '' ); -
apply_filters( 'ast_block_templates_wp_handle_sideload', array( 'test_form' => false, 'test_type' => false, 'test_size' => true, 'test_upload' => true, 'mimes' => array( 'xml' => 'text/xml', 'json' => 'application/json', ), ) ); -
apply_filters( 'ast_block_templates_zip_app_url', 'https://app.zipwp.com/auth' ); -
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( 'astra_sites_api_params', array( 'purchase_key' => '', 'site_url' => site_url(), ) ); -
do_action( "bsf_activate_license_{$product_id}_after_success", $result, $response, $post_data ); -
apply_filters( 'bsf_activate_license_args', $data ); -
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_is_product_bundled', array_unique( $product_parent ), $bsf_product, $search_by ); -
apply_filters( 'bsf_license_status_args', $data ); -
do_action( "bsf_product_update_{$value}", $product_id, $value ); -
apply_filters( 'bsf_usage_tracking_enabled', true ); -
apply_filters_deprecated( 'enable_block_condition', array( $display_condition ), '1.23.4', 'uag_enable_block_condition' ); -
apply_filters( 'enable_block_condition_for_core', true ); -
apply_filters( 'enable_block_responsive', UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_block_responsive', 'enabled' ) ); -
apply_filters( 'enable_responsive_condition_for_core', true ); -
apply_filters( 'exclude_uagb_assets_for_cpts', array() ); -
apply_filters( 'https_local_ssl_verify', false ); -
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( 'one_onboarding_languages_directory', '' ); -
apply_filters( 'one_onboarding_textdomain', 'one-onboarding' ); -
do_action( 'register_spectra_pro_popup_meta' ); -
apply_filters( "spectra_{$block_name}{$hook_prefix}_styling", $selector, $attr ); -
apply_filters( "spectra_{$block_slug}_blockdata", $block_data ); -
do_action( 'spectra_after_slider_options_loaded', $attr ); -
apply_filters( 'spectra_buttons_child_content', $content, $attributes, $block ); -
apply_filters( 'spectra_core_blocks', array( 'container', 'advanced-heading', 'image', 'icon', 'buttons', 'info-box', 'call-to-action', 'countdown', 'popup-builder', ) ); -
apply_filters( 'spectra_countdown_attributes', array() ); -
apply_filters( 'spectra_countdown_frontend_dynamic_js', ob_get_clean(), $selector, $countdown_options ); -
apply_filters( 'spectra_deactivation_survey_data', array( array( 'id' => 'deactivation-survey-ultimate-addons-for-gutenberg', 'popup_logo' => esc_url( plugin_dir_url( __DIR__ ) . 'assets/images/logos/spectra.svg' ), 'plugin_slug' => 'ultimate-addons-for-gutenberg', 'popup_title' => 'Quick Feedback', 'support_url' => 'https://wpspectra.com/contact/', 'popup_description' => 'If you have a moment, please share why you are deactivating Spectra:', '... ); -
apply_filters( 'spectra_display_admin_video', true ); -
apply_filters( 'spectra_exclude_crops_iframes', array( '__privateStripeMetricsController8690' ) ); -
apply_filters( 'spectra_frontend_static_style', $css, $block_name ); -
apply_filters( 'spectra_get_pro_url', $spectra_pro_url, $url ); -
apply_filters( 'spectra_global_content_width', 'default' ); -
do_action( 'spectra_localize_pro_block_ajax' ); -
apply_filters( 'spectra_modal_attributes', array() ); -
apply_filters( 'spectra_modal_frontend_dynamic_js', ob_get_clean(), $selector, $attr ); -
apply_filters( 'spectra_post_assets_regeneration_buffer_time', 30 ); -
do_action( 'spectra_pro_admin_popup_list_content', $column, $post_id ); -
apply_filters( 'spectra_pro_admin_popup_list_titles', $columns ); -
do_action( 'spectra_pro_popup_dashboard' ); -
apply_filters( 'spectra_pro_popup_display_filters', true, $this->post_id ); -
apply_filters( 'spectra_pro_popup_frontend_js', $js, $id, $attr, $is_push_banner, $popup_timer ); -
apply_filters( 'spectra_pro_render_block', $block_content, $block ); -
apply_filters( 'spectra_slider_frontend_attributes', array_merge( array( 'block_id' => '', 'pauseOn' => 'hover', 'infiniteLoop' => true, 'transitionSpeed' => 800, 'transitionEffect' => 'slide', 'autoplay' => true, 'verticalMode' => false, 'autoplaySpeed' => 3000, 'displayArrows' => true, 'displayDots' => true, 'backgroundType' => 'none', 'backgroundImageDesktop' => '', 'backgroundImageTablet' => '', 'backgroundImageMobile' => '', 'backgroundPosit... ); -
apply_filters( 'the_excerpt', wp_trim_words( $content, $max_excerpt ) ); -
apply_filters( 'uag_enable_animations_extension', UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_animations_extension', 'enabled' ) ); -
apply_filters( 'uag_enable_masonry_gallery', UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_masonry_gallery', 'enabled' ) ); -
apply_filters( 'uag_enable_quick_action_sidebar', UAGB_Admin_Helper::get_admin_settings_option( 'uag_enable_quick_action_sidebar', 'enabled' ) ); -
apply_filters( 'uag_font_disaply', 'fallback' ); -
apply_filters( 'uag_font_subset', array() ); -
apply_filters( 'uag_get_upload_dir', $dir_info ); -
apply_filters( 'uag_global_data_options', $options ); -
apply_filters( 'uag_instagram_transients', array() ); -
apply_filters( 'uag_nps_logo', plugin_dir_url( __DIR__ ) . 'assets/images/logos/spectra.svg' ); -
apply_filters( 'uag_page_assets_css', $page_assets['css'] ); -
apply_filters( 'uag_page_assets_js', $page_assets['js'] ); -
apply_filters( 'uag_react_admin_localize', array( 'current_user' => ! empty( wp_get_current_user()->user_firstname ) ? wp_get_current_user()->user_firstname : wp_get_current_user()->display_name, 'admin_base_url' => admin_url(), 'uag_base_url' => admin_url( 'admin.php?page=' . $this->menu_slug ), 'plugin_dir' => UAGB_URL, 'plugin_ver' => UAGB_VER, 'admin_url' => admin_url( 'admin.php' ), 'ajax_url' => admin_url( 'admin-ajax.php' ), 'wp_... ); -
do_action( 'uag_register_block', $this ); -
apply_filters( 'uag_register_block_static_dependencies', self::$block_assets ); -
do_action( 'uag_render_admin_page_content', $menu_page_slug, $page_action ); -
apply_filters( 'uagb_allow_file_generation', get_option( '_uagb_allow_file_generation', 'disabled' ) ); -
apply_filters( 'uagb_animation_data', array( 'UAGAnimationType' => $attr['UAGAnimationType'], ), $id ); -
apply_filters( 'uagb_asset_version', UAGB_ASSET_VER ); -
apply_filters( 'uagb_countdown_options', array( 'block_id' => $attr['block_id'], 'endDateTime' => $attr['endDateTime'], 'showDays' => $attr['showDays'], 'showHours' => $attr['showHours'], 'showMinutes' => $attr['showMinutes'], 'isFrontend' => true, 'timerEndAction' => $attr['timerEndAction'], 'redirectURL' => $attr['redirectURL'], ), $id, $attr ); -
apply_filters( 'uagb_counter_options', array( 'layout' => $attr['layout'], 'heading' => $attr['heading'], 'numberPrefix' => $attr['numberPrefix'], 'numberSuffix' => $attr['numberSuffix'], 'startNumber' => $attr['startNumber'], 'endNumber' => $attr['endNumber'], 'totalNumber' => $attr['totalNumber'], 'decimalPlaces' => $attr['decimalPlaces'], 'animationDuration' => $attr['animationDuration'], 'thousandSeparator' => $attr['thousandSep... ); -
do_action( 'uagb_delete_page_assets' ); -
apply_filters( 'uagb_delete_page_assets_skip_post_types', array( 'nav_menu_item' ) ); -
do_action( 'uagb_delete_uag_asset_dir' ); -
apply_filters( 'uagb_enable_extensions_for_blocks', array() ); -
apply_filters( 'uagb_enable_post_class', false, $attributes ); -
apply_filters( 'uagb_enable_redirect_activation', get_option( '__uagb_do_redirect' ) ); -
apply_filters( 'uagb_enabled_blocks', UAGB_Helper::$block_list ); -
apply_filters( 'uagb_enqueue_google_fonts', $this->load_uag_fonts ); -
do_action( 'uagb_form_success', $form_data ); -
apply_filters( 'uagb_get_local_fonts_base_path', $this->get_filesystem()->wp_content_dir() ); -
apply_filters( 'uagb_get_local_fonts_base_url', content_url() . '/' ); -
apply_filters( 'uagb_get_local_fonts_subfolder_name', 'fonts' ); -
apply_filters( 'uagb_icons_chunks', $icons_chunks ); -
apply_filters( 'uagb_image_gallery_dynamic_attributes', array() ); -
apply_filters( 'uagb_image_gallery_lightbox_options', array( 'slidesPerView' => 1, 'navigation' => array( 'nextEl' => $selector . '+.spectra-image-gallery__control-lightbox .swiper-button-next', 'prevEl' => $selector . '+.spectra-image-gallery__control-lightbox .swiper-button-prev', 'addIcons' => false, ), 'keyboard' => array( 'enabled' => true, ), ), $id ); -
apply_filters( 'uagb_image_gallery_pro_custom_url_js', $js, $id, $attr ); -
apply_filters( 'uagb_image_gallery_pro_lightbox_js', '', $id, $attr ); -
apply_filters( 'uagb_image_gallery_slick_options', array( 'arrows' => is_bool( $attr['paginateUseArrows'] ) ? $attr['paginateUseArrows'] : true, 'dots' => is_bool( $attr['paginateUseDots'] ) ? $attr['paginateUseDots'] : true, 'initialSlide' => is_int( $attr['carouselStartAt'] ) ? $attr['carouselStartAt'] : (int) $attr['carouselStartAt'], 'infinite' => is_bool( $attr['carouselLoop'] ) ? $attr['carouselLoop'] : true, 'autoplay' => is_bool( $attr[... ); -
apply_filters( 'uagb_image_gallery_thumbnail_options', array( 'centeredSlides' => true, 'slidesPerView' => 5, 'slideToClickedSlide' => true, 'watchSlidesProgres' => true, 'watchSlidesVisibility' => true, 'breakpoints' => array( 768 => array( 'slidesPerView' => 7, ), 1024 => array( 'slidesPerView' => 9, ), ), ), $id ); -
do_action( 'uagb_plugin_activated', $plugin ); -
do_action( "uagb_post_after_article_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_post_after_inner_wrap_{$attributes['post_type']}", get_the_ID(), $attributes ); -
apply_filters( 'uagb_post_alter_attributes', $attributes, get_the_ID() ); -
do_action( "uagb_post_before_article_{$attributes['post_type']}", get_the_ID(), $attributes ); -
do_action( "uagb_post_before_inner_wrap_{$attributes['post_type']}", get_the_ID(), $attributes ); -
apply_filters( 'uagb_post_featured_image_sizes', $image_sizes ); -
apply_filters( 'uagb_post_loop_taxonomies', $return_array ); -
apply_filters( "uagb_post_query_args_{$block_type}", $query_args, $attributes ); -
apply_filters( 'uagb_render_block', $block_content, $block ); -
apply_filters( "uagb_single_post_meta_sequence_{$attributes['post_type']}", $meta_sequence, get_the_ID(), $attributes ); -
apply_filters( 'uagb_slider_options', array( 'autoplay' => $attr['autoplay'] ? array( 'delay' => is_int( $attr['autoplaySpeed'] ) ? $attr['autoplaySpeed'] : (int) $attr['autoplaySpeed'], 'disableOnInteraction' => 'click' === $attr['pauseOn'] ? true : false, 'pauseOnMouseEnter' => 'hover' === $attr['pauseOn'] ? true : false, 'stopOnLastSlide' => $attr['infiniteLoop'] ? false : true, ) : false, 'loop' => is_bool( $attr['infiniteLoop'... ); -
apply_filters( 'uagb_taxonomies_list', $return_array ); -
apply_filters( 'uagb_taxonomy_count_text', $countName, $value->count ); -
apply_filters( 'uagb_testimonials_slick_options', array( 'slidesToShow' => is_int( $attr['columns'] ) ? $attr['columns'] : (int) $attr['columns'], 'slidesToScroll' => 1, 'autoplaySpeed' => esc_html( $attr['autoplaySpeed'] ), 'autoplay' => is_bool( $attr['autoplay'] ) ? $attr['autoplay'] : true, 'infinite' => is_bool( $attr['infiniteLoop'] ) ? $attr['infiniteLoop'] : true, 'pauseOnHover' => is_bool( $attr['pauseOnHover'] ) ? $attr['pauseOnHover... ); -
do_action( 'uagb_theme_activated', $plugin ); -
do_action( 'uagb_update_after' ); -
do_action( 'uagb_update_before' ); -
apply_filters( 'uds_default_deactivation_reasons', array( 'temporary_deactivation' => array( 'label' => esc_html__( 'This is a temporary deactivation for testing.', 'ultimate-addons-for-gutenberg' ), 'placeholder' => esc_html__( 'How can we assist you?', 'ultimate-addons-for-gutenberg' ), 'show_cta' => 'false', 'accept_feedback' => 'false', ), 'plugin_not_working' => array( 'label' => esc_html__( 'The plugin isn\'t working properly.', 'ultimate... ); -
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(), ) ); -
apply_filters( 'wpml_current_language', null ); -
apply_filters( 'wpml_object_id', $visibility_page_id, 'page', true ); -
apply_filters( 'zip_ai_admin_localize', array( 'admin_url' => admin_url(), 'ajax_url' => admin_url( 'admin-ajax.php' ), 'auth_middleware' => Helper::get_auth_middleware_url(), 'auth_revoke_url' => Helper::get_auth_revoke_url(), 'credit_topup_url' => ZIP_AI_CREDIT_TOPUP_URL, 'is_authorized' => Helper::is_authorized(), 'is_ai_assistant_enabled' => Module::is_enabled( 'ai_assistant' ), 'admin_nonce' => wp_create_nonce( 'zip_ai_admin_non... ); -
apply_filters( 'zip_ai_auth_middleware_args', array( 'type' => 'token', 'redirect_url' => rawurlencode( $redirect_url ), ) ); -
apply_filters( 'zip_ai_auth_redirection_flag', true ); -
apply_filters( 'zip_ai_auth_redirection_url', admin_url( 'admin.php?page=zip-ai' ) ); -
apply_filters( 'zip_ai_auth_revoke_args', array( array( 'nonce' => wp_create_nonce( 'zip_ai_auth_nonce' ), 'revoke_zip_ai_authorization_token' => 'definitely', ), admin_url(), ) ); -
apply_filters( 'zip_ai_collab_product_details', null ); -
apply_filters( 'zip_ai_enable_chat_sidebar', true ); -
apply_filters( 'zip_ai_load_library', true ); -
apply_filters( 'zip_ai_modules', [] ); -
apply_filters( 'zip_ai_page_title', 'Zip - AI Assistant' ); -
apply_filters( 'zip_ai_parent_page', 'none' ); -
apply_filters( 'zip_ai_plan_details_cache_duration', DAY_IN_SECONDS ); -
apply_filters( 'zip_ai_revoke_redirection_url', admin_url() ); -
apply_filters( 'zipwp_images_excluded_post_types', array( 'sureforms_form' ) ); -
apply_filters( 'zipwp_images_tab_title', __( 'Search Images', 'ultimate-addons-for-gutenberg' ) ); -
apply_filters( 'zipwp_images_vars', array( 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), 'asyncurl' => esc_url( admin_url( 'async-upload.php' ) ), 'is_customize_preview' => is_customize_preview(), 'is_bb_active' => class_exists( 'FLBuilderModel' ), 'is_brizy_active' => class_exists( 'Brizy_Editor_Post' ), 'is_elementor_active' => did_action( 'elementor/loaded' ), 'is_elementor_editor' => did_action( 'elementor/loaded' ) ... );
Generated from Spectra Legacy'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: