Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg 4.7.12 has 93 actions and 207 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 Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg 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 Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg is about to use
add_filter( 'plugin_locale', function( $get_locale, $arg2 ) {
// Change $get_locale here.
return $get_locale;
}, 10, 2 );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
4.7.11 → 4.7.12 · Nov 18, 2026 · 0 added, 0 removed
No hooks were added or removed in this release.
All hooks
-
/** * Language Locale for plugin */ apply_filters( 'plugin_locale', $get_locale, 'astra-sites' ); -
/** * Filter to modify the visibility of version toggle. */ apply_filters( 'ast_block_templates_show_version_toggle', false ); -
/** * Filters the languages directory path to use for plugin. */ apply_filters( 'ai_builder_languages_directory', $lang_dir ); -
/** * Filter to enable legacy Beaver Builder support. */ apply_filters( 'astra_sites_enable_legacy_beaver_builder_support', false ); -
/** * Filter to determine if the AI Builder is a white-label version, which * impacts certain features such as the images engine used for Russian clients. */ apply_filters( 'ai_builder_is_white_label', false ); -
/** * Filter to toggle the promotional feature carousel on the import loading * screen. When disabled, the classic progress loader is shown instead. */ apply_filters( 'ai_builder_should_show_import_carousel', ! $is_white_label ); -
/** * Filter the site source sent with ZipWP requests. */ apply_filters( 'ai_builder_site_source', 'starter-templates' ); -
/** * Filter the unauthenticated message for ZipWP plan. */ apply_filters( 'ai_builder_zipwp_plan_unauthenticated_message', __( "We couldn't verify an active plan for your account. Please check your ZipWP subscription.", 'astra-sites' ) ); -
/** * 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 ); -
/** * Action fired after analytics reporting. */ do_action( 'astra_sites_after_analytics_reporting', $data, $request ); -
/** * Fires after the theme activation. */ do_action( 'astra_sites_after_theme_activation', 'astra' ); -
/** * Filter to modify the API Request URL. */ apply_filters( "astra_sites_api_request_{$url}", trailingslashit( self::get_instance()->get_api_domain() ) . 'wp-json/wp/v2/' . $url ); -
/** * Filter to modify the display of Spectra Blocks version selector. */ apply_filters( 'astra_sites_display_spectra_blocks_version_selector', $flag ); -
/** * Filters whether to redirect after Starter Templates is activated. */ apply_filters( 'astra_sites_do_activation_redirect', true ); -
/** * Filter to modify all sites and pages data. */ apply_filters( 'astra_sites_get_all_sites', $sites_and_pages ); -
/** * Fires when an onboarding step is visited for the first time or its status * changes. */ do_action( 'astra_sites_onboarding_step_visited', $step ); -
/** * Filters the post types that keep their original publish date on import. */ apply_filters( 'astra_sites_preserve_post_date_post_types', $post_types ); -
/** * Filter the keywords that trigger priority pinning for each category. */ apply_filters( 'astra_sites_priority_category_keywords', $keywords ); -
/** * Filter the priority templates map (category slug => template IDs). */ apply_filters( 'astra_sites_priority_templates_by_category', $priority_by_category ); -
/** * Master switch for priority template pinning. */ apply_filters( 'astra_sites_priority_templates_enabled', true ); -
/** * Filters whether to scrub `websitedemos.net` URLs from the customizer * settings being saved during import. */ apply_filters( 'astra_sites_scrub_customizer_demo_urls', $is_classic, $customizer_data ); -
/** * Filter to show/hide AI Builder step. */ apply_filters( 'astra_sites_show_ai_builder', true ); -
/** * Filter to provide custom template data for Custom Templates step. */ apply_filters( 'astra_sites_show_custom_templates', array() ); -
/** * Filter the Spectra Blocks version. */ apply_filters( 'astra_sites_spectra_blocks_version', 'v3' ); -
/** * Filters whether the data is printed one entry per line; return false to fall * back to wp_localize_script(). */ apply_filters( 'astra_sites_use_multiline_localize_script', true, $handle, $object_name ); -
/** * Fires after the WooPayments banner is dismissed. */ do_action( 'astra_sites_woopayments_banner_dismissed' ); -
/** * Filter to modify the default action items. */ apply_filters( 'getting_started_action_items', $action_items ); -
/** * Filter to modify the action items categories. */ apply_filters( 'getting_started_action_items_categories', $categories ); -
/** * Fires when finish setup action items are served to the user. */ do_action( 'getting_started_action_items_served', $default_action_items ); -
/** * Fires after the finish setup wizard is dismissed. */ do_action( 'getting_started_setup_wizard_dismissed' ); -
/** * Filters the product slug reported as the checklist's source. */ apply_filters( 'getting_started_source', $source ); -
/** * Filter to modify the option name for the setup wizard showing status. */ apply_filters( 'getting_started_wizard_option_name', 'getting_started_is_setup_wizard_showing' ); -
/** * Filters the languages directory path to use for plugin. */ apply_filters( 'gs_languages_directory', $lang_dir ); -
/** * Complete the import. */ do_action( 'import_end' ); -
/** * Begin the import. */ do_action( 'import_start' ); -
/** * 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' => $rating, 'comment' => $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_user->last_name ) ? $current_user->last_name : '', 'source' => $plugin_slug, 'plugin_slug' => $plugin_slug, ), $nps_id ); -
/** * 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 ); -
/** * 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 ); -
/** * Fires after adding content to the import log file. */ do_action( 'st_importer_log_after_add', $message, $severity, $context ); -
/** * Fires before adding content to the import log file. */ do_action( 'st_importer_log_before_add', $message, $severity, $context ); -
/** * Filter the help URL displayed in import logs. */ apply_filters( 'st_importer_log_help_url', 'https://wpastra.com/docs/?p=1314&utm_source=demo-import-panel&utm_campaign=import-error&utm_medium=wp-dashboard' ); -
/** * Fires after file permissions are verified and log file is set. */ do_action( 'st_importer_log_init' ); -
/** * Filter the prefix used for directories, options, transients, and CSS * classes. */ apply_filters( 'st_importer_log_prefix', 'st_importer' ); -
/** * Filters the languages directory path to use for plugin.˜ */ apply_filters( 'starter_templates_importer_languages_directory', $lang_dir ); -
/** * Filter to lock the onboarding flow to a deep linked template. */ apply_filters( 'starter_templates_lock_deep_linked_template', false ); -
/** * Comment has been imported. */ do_action( 'wp_import_insert_comment', $comment_id, $comment, $post_id, $post ); -
/** * Pre-process comment data */ apply_filters( 'wxr_importer.pre_process.comment', $comment, $post_id ); -
/** * Pre-process post data. */ apply_filters( 'wxr_importer.pre_process.post', $data, $meta, $comments, $terms ); -
/** * Pre-process post meta data. */ apply_filters( 'wxr_importer.pre_process.post_meta', $meta_item, $post_id ); -
/** * Pre-process term data. */ apply_filters( 'wxr_importer.pre_process.term', $data, $meta ); -
/** * Pre-process term meta data. */ apply_filters( 'wxr_importer.pre_process.term_meta', $meta_item, $term_id ); -
/** * Pre-process user data. */ apply_filters( 'wxr_importer.pre_process.user', $data, $meta ); -
/** * Comment processing already imported. */ do_action( 'wxr_importer.process_already_imported.comment', $comment ); -
/** * Post processing already imported. */ do_action( 'wxr_importer.process_already_imported.post', $data ); -
/** * Term processing already imported. */ do_action( 'wxr_importer.process_already_imported.term', $data ); -
/** * Post processing failed. */ do_action( 'wxr_importer.process_failed.post', $post_id, $data, $meta, $comments, $terms ); -
/** * Term processing failed. */ do_action( 'wxr_importer.process_failed.term', $result, $data, $meta ); -
/** * User processing failed. */ do_action( 'wxr_importer.process_failed.user', $user_id, $userdata ); -
/** * Post processing skipped. */ do_action( 'wxr_importer.process_skipped.post', $data, $meta ); -
/** * Post processing completed. */ do_action( 'wxr_importer.processed.comment', $comment_id, $comment, $meta, $post_id ); -
/** * Post processing completed. */ do_action( 'wxr_importer.processed.post', $post_id, $data, $meta, $comments, $terms ); -
/** * Term processing completed. */ do_action( 'wxr_importer.processed.term', $term_id, $data ); -
/** * User processing completed. */ do_action( 'wxr_importer.processed.user', $user_id, $userdata ); -
/** * Get the additional roles to add the custom capability. */ apply_filters( 'zip_ai_assistant_capability_additional_roles', array( 'administrator', 'editor' ) ); -
apply_filters( 'astra_sites_api_params', array( 'purchase_key' => '', 'site_url' => '', ) ); -
do_action( 'ast_block_templates_sync_blocks_requests', $data['count']['pages'] ); -
do_action( 'ast_block_templates_sync_categories', $data['categories'] ); -
do_action( 'astra_sites_after_plugin_activation', $plugin_init, $data ); -
apply_filters( 'astra_sites_api_args', array( 'timeout' => 15, ) ); -
apply_filters( 'astra_sites_api_domain', 'https://websitedemos.net/' ); -
apply_filters( 'astra_sites_debug_logs', false ); -
apply_filters( 'https_local_ssl_verify', $sslverify ); -
apply_filters( "{$key}_tracking_enabled", $is_enabled ); -
apply_filters( "{$this->identifier}_cron_interval", 5 ); -
apply_filters( 'ai_builder_templates_zip_api_url', 'https://api.zipwp.com/api' ); -
apply_filters( 'ast_block_templates_api_args', array( 'timeout' => 15, ) ); -
apply_filters( 'ast_block_templates_api_params', array( '_fields' => 'original_content', ) ); -
apply_filters( 'ast_block_templates_zip_app_url', 'https://app.zipwp.com/auth' ); -
apply_filters( 'astra_sites_api_url', $this->api_domain . 'wp-json/wp/v2/' ); -
do_action( 'astra_sites_before_delete_imported_posts', $post_id, $post_type ); -
do_action( 'astra_sites_before_delete_imported_terms', $term_id, $term ); -
do_action( 'astra_sites_before_delete_imported_wp_forms', $post_id ); -
apply_filters( 'astra_sites_image_importer_skip_image', false, $attachment ); -
apply_filters( 'astra_sites_import_analytics_api_url', $this->api_domain . 'wp-json/analytics/v2/import/' ); -
apply_filters( 'astra_sites_pro_plugin_exist', array( 'beaver-builder-lite-version/fl-builder.php' => array( 'slug' => 'bb-plugin', 'init' => 'bb-plugin/fl-builder.php', 'name' => 'Beaver Builder Plugin', ), 'ultimate-addons-for-beaver-builder-lite/bb-ultimate-addon.php' => array( 'slug' => 'bb-ultimate-addon', 'init' => 'bb-ultimate-addon/bb-ultimate-addon.php', 'name' => 'Ultimate Addon for Beaver Builder', ), 'wpforms-lite/wpforms.php' =... ); -
apply_filters( 'astra_sites_search_api_url', $this->api_domain . 'wp-json/analytics/v2/search/' ); -
apply_filters( 'astra_sites_suggestion_link', $white_label_link ); -
apply_filters( 'astra_sites_valid_url', array( 'lh3.googleusercontent.com', 'pixabay.com', ) ); -
apply_filters( 'nps_survey_api_domain', 'https://metrics.brainstormforce.com/' ); -
do_action( 'wie_after_import' ); -
do_action( 'wie_after_widget_import', $after_widget_import ); -
apply_filters( 'wie_available_widgets', $available_widgets ); -
do_action( 'wie_before_import' ); -
apply_filters( 'wie_import_data', $data ); -
apply_filters( 'wie_import_results', $results ); -
apply_filters( 'wie_widget_settings', $widget ); -
apply_filters( 'wie_widget_settings_array', $widget ); -
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( 'ai_builder_default_business_type', '' ); -
apply_filters( 'ai_builder_default_website_language', 'en' ); -
apply_filters( 'ai_builder_hide_credits_warning_modal', false ); -
apply_filters( 'ai_builder_hide_finish_setup_button', 'no' ); -
apply_filters( 'ai_builder_hide_visit_dashboard_button', 'no' ); -
apply_filters( 'ai_builder_images_engine_for_russia', 'unsplash' ); -
apply_filters( 'ai_builder_limit_exceeded_popup_strings', array( 'main_content' => __( 'Your current active organization is %1$s, which is on the %2$s plan. You have reached the maximum number of sites allowed to be created on %2$s plan.', 'astra-sites' ), 'secondary_content' => __( 'Please upgrade the plan for %s in order to create more sites.', 'astra-sites' ), 'upgrade_text' => __( 'Unlock Full Power', 'astra-sites' ), 'upgrade_url' => 'https://app... ); -
apply_filters( 'ai_builder_load_library', true ); -
apply_filters( 'ai_builder_logo', AI_BUILDER_URL . 'inc/assets/images/logo.svg' ); -
apply_filters( 'ai_builder_migrate_svg', AI_BUILDER_URL . 'inc/assets/images/build-with-ai/migrate.svg' ); -
apply_filters( 'ai_builder_parent_plugin', 'wp-astra-sites' ); -
apply_filters( 'ai_builder_sale_infobar_bg', AI_BUILDER_URL . 'inc/assets/images/infobar-bg.png' ); -
apply_filters( 'ai_builder_show_zip_plan_details', true ); -
apply_filters( 'ai_builder_skip_features', 'no' ); -
apply_filters( 'ai_builder_support_link', $support_link ); -
apply_filters( 'ai_builder_supported_page_builders', array( 'block-editor', 'elementor' ) ); -
apply_filters( 'ai_builder_textdomain', 'ai-builder' ); -
apply_filters( 'ai_builder_zip_app_url', 'https://app.zipwp.com/auth' ); -
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_api_url', 'https://api.zipwp.com/api' ); -
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']}" ); -
do_action( 'astra_sites_batch_process_complete' ); -
do_action( 'astra_sites_before_import_prepare_xml' ); -
do_action( 'astra_sites_before_sse_import' ); -
apply_filters( 'astra_sites_blocks_query_args', array( 'page_builder' => 'elementor', 'per_page' => 100, 'page' => $page, 'wireframe' => 'yes', ) ); -
apply_filters( 'astra_sites_bsf_analytics_deactivation_survey_data', array( array( 'id' => 'deactivation-survey-astra-sites', 'popup_logo' => ASTRA_SITES_URI . 'inc/lib/onboarding/assets/images/logo.svg', 'plugin_slug' => 'astra-sites', 'plugin_version' => ASTRA_SITES_VER, 'popup_title' => __( 'Quick Feedback', 'astra-sites' ), 'support_url' => 'https://wpastra.com/starter-templates-support/', 'popup_description' => __( 'If you have a moment, please share why yo... ); -
apply_filters( 'astra_sites_checksums_status', $checksums_status ); -
apply_filters( 'astra_sites_custom_cta_vars', array( 'text' => __( 'Get unlimited access to all premium Starter Templates and more, at a single low cost!', 'astra-sites' ), 'button_text' => __( 'Get Essential Toolkit', 'astra-sites' ), 'cta_link' => Astra_Sites::get_instance()->get_cta_link(), ) ); -
apply_filters( 'astra_sites_disable_design_kit', false ); -
apply_filters( 'astra_sites_elementor_batch_process_post_types', array( 'page', 'post', 'wp_block', 'wp_template', 'wp_navigation', 'wp_template_part', 'wp_global_styles', 'sc_form' ) ); -
apply_filters( 'astra_sites_gutenberg_batch_process_post_types', array( 'page', 'post', 'wp_block', 'wp_template', 'wp_navigation', 'wp_template_part', 'wp_global_styles', 'sc_form', 'spectra-popup', 'suredonation_cmpgn', 'suredonation_form' ) ); -
do_action( 'astra_sites_import_complete', $demo_data ); -
apply_filters( 'astra_sites_import_sites_query_args', array( 'per_page' => 15, 'page' => $page, 'spectra-blocks-ver' => Astra_Sites::get_rest_spectra_blocks_version(), ) ); -
do_action( 'astra_sites_import_start' ); -
do_action( 'astra_sites_import_success' ); -
apply_filters( 'astra_sites_initial_sync', true ); -
apply_filters( 'astra_sites_localize_vars', array( 'subscribed' => get_user_meta( get_current_user_ID(), 'astra-sites-subscribed', true ), 'debug' => defined( 'WP_DEBUG' ) && WP_DEBUG, 'isPro' => defined( 'ASTRA_PRO_SITES_NAME' ) ? true : false, 'isWhiteLabeled' => Astra_Sites_White_Label::get_instance()->is_white_labeled(), 'whiteLabelName' => Astra_Sites_White_Label::get_instance()->get_white_label_name(), 'whiteLabelUrl' => Astra_Site... ); -
apply_filters( 'astra_sites_pixabay_api_key', get_option( 'astra_sites_pixabay_api_key', '' ) ); -
apply_filters( 'astra_sites_pre_process_post_disable_content', ( $is_attachment || $is_elementor_page || $is_beaver_builder_page || $is_brizy_page ) ); -
apply_filters( 'astra_sites_pre_process_post_empty_excerpt', true ); -
apply_filters( 'astra_sites_process_auto_sync_library', true ); -
do_action( 'astra_sites_process_single', $new_page_id ); -
apply_filters( 'astra_sites_process_sync_batch', true ); -
apply_filters( 'astra_sites_render_localize_vars', array( 'plugin_name' => Astra_Sites_White_Label::get_instance()->get_white_label_name(), 'sites' => astra_sites_get_api_params(), 'version' => ASTRA_SITES_VER, 'settings' => array(), 'page-builders' => array(), 'categories' => array(), 'default_page_builder' => 'elementor', 'astra_blocks' => $all_blocks, 'license_status' => $license_status, 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ),... ); -
apply_filters( 'astra_sites_should_display_subscription_form', null ); -
apply_filters( 'astra_sites_show_classic_templates', true ); -
do_action( 'astra_sites_single_page_batch_process_complete' ); -
do_action( 'astra_sites_site_import_batch_complete' ); -
apply_filters( 'astra_sites_spectra_blocks_vars', array( 'selectorEnabled' => self::should_display_spectra_blocks_version_selector(), 'version' => self::get_spectra_blocks_version(), ) ); -
apply_filters( 'astra_sites_staging_connected', '' ); -
apply_filters( 'astra_sites_subscription_url', self::get_metrics_api_domain() . 'wp-json/bsf-metrics-server/v1/subscribe' ); -
do_action( 'astra_sites_sync_all_site_categories', $cats ); -
do_action( 'astra_sites_sync_all_site_categories_and_tags', $cats ); -
do_action( 'astra_sites_sync_blocks', $page, $astra_blocks ); -
do_action( 'astra_sites_sync_blocks_categories', $categories ); -
do_action( 'astra_sites_sync_blocks_requests', $total_requests['pages'] ); -
do_action( 'astra_sites_sync_categories', $categories ); -
apply_filters( 'astra_sites_sync_check_time', WEEK_IN_SECONDS ); -
do_action( 'astra_sites_sync_get_total_pages', $total_requests['pages'] ); -
do_action( 'astra_sites_sync_page_builders', $page_builders ); -
do_action( 'astra_sites_sync_sites_and_pages', $page, $sites_and_pages ); -
do_action( 'astra_sites_update_after' ); -
do_action( 'astra_sites_update_before' ); -
apply_filters( 'astra_sites_woocommerce_attribute_args', $attribute_args ); -
apply_filters( 'astra_sites_xml_import_options', array( 'update_attachment_guids' => true, 'fetch_attachments' => true, 'default_author' => get_current_user_id(), ) ); -
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( 'cron_request', array( 'url' => site_url( 'wp-cron.php?doing_wp_cron=' . $doing_wp_cron ), 'key' => $doing_wp_cron, 'args' => array( 'timeout' => 3, 'blocking' => true, 'sslverify' => apply_filters( 'https_local_ssl_verify', $sslverify ), ), ) ); -
apply_filters( 'getting_started_categorized_action_items', true ); -
apply_filters( 'getting_started_content', array( 'title' => $this->get_title(), 'description' => __( 'Complete these steps to take full control of your website.', 'astra-sites' ), 'footer_logo' => '', 'footer_plugin_name' => 'Starter Templates', 'footer_plugin_url' => 'https://startertemplates.com/', 'congratulations_title' => __( 'Awesome, You did it! 😍', 'astra-sites' ), 'congratulations_content' => $this->get_congratulations_cont... ); -
apply_filters( 'getting_started_icon', $icon ); -
apply_filters( 'getting_started_is_setup_wizard_showing', get_option( $option_name, false ) ); -
apply_filters( 'getting_started_logo_url', '' ); -
apply_filters( 'getting_started_vars', array( 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), '_ajax_nonce' => wp_create_nonce( 'getting-started' ), 'rest_api_nonce' => ( current_user_can( 'manage_options' ) ) ? wp_create_nonce( 'wp_rest' ) : '', 'icon' => self::get_icon(), 'iconURL' => esc_url( apply_filters( 'getting_started_logo_url', '' ) ), 'title' => sanitize_text_field( $content['title'] ), 'description' => sanitize_te... ); -
apply_filters( 'import_attachment_size_limit', 0 ); -
do_action( 'import_post_meta', $post_id, $key, $value ); -
apply_filters( 'import_post_meta_key', $meta_item['key'], $post_id, $post ); -
do_action( 'import_term_meta', $term_id, $key, $value ); -
apply_filters( 'import_term_meta_key', $meta_item['key'], $term_id, $term ); -
apply_filters( 'nps_survey_build_url', $default_build_url ); -
apply_filters( 'nps_survey_required_capability', 'manage_options', $request ); -
apply_filters( 'nps_survey_vars', [ 'ajaxurl' => esc_url( admin_url( 'admin-ajax.php' ) ), '_ajax_nonce' => wp_create_nonce( 'nps-survey' ), 'rest_api_nonce' => self::get_rest_nonce( $plugin_slug ), ] ); -
apply_filters( 'one_onboarding_languages_directory', '' ); -
apply_filters( 'one_onboarding_textdomain', 'one-onboarding' ); -
do_action( 'plugins_loaded' ); -
do_action( 'st_after_sending_error_report', $api_args['body'], $request ); -
apply_filters( 'st_ai_onboarding_logo', INTELLIGENT_TEMPLATES_URI . 'assets/images/build-with-ai/st-logo-dark.svg' ); -
apply_filters( 'st_ai_onboarding_logo_dark', AI_BUILDER_URL . 'inc/assets/images/build-with-ai/st-logo-dark.svg' ); -
apply_filters( 'st_ai_onboarding_logo_light', AI_BUILDER_URL . 'inc/assets/images/logo.svg' ); -
do_action( 'st_before_sending_error_report', $api_args['body'] ); -
do_action( 'st_before_start_import_process' ); -
apply_filters( 'st_enable_block_page_builder', false ); -
do_action( 'st_importer_import_site_options', $options ); -
apply_filters( 'st_importer_site_options', array( 'custom_logo', 'nav_menu_locations', 'show_on_front', 'page_on_front', 'page_for_posts', 'site_title', 'astra-color-palettes', 'astra-typography-presets', 'elementor_container_width', 'elementor_cpt_support', 'elementor_css_print_method', 'elementor_default_generic_fonts', 'elementor_disable_color_schemes', 'elementor_disable_typography_schemes', 'elementor_editor_break_lines', 'elemento... ); -
apply_filters( 'starter_templates_hide_elementor_button', false ); -
apply_filters( 'starter_templates_importer_load_library', true ); -
apply_filters( 'starter_templates_onboarding_localize_vars', $data ); -
do_action( 'starter_templates_save_sites_count_as_per_page_builder' ); -
apply_filters( 'uds_default_deactivation_reasons', array( 'temporary_deactivation' => array( 'label' => esc_html__( 'This is a temporary deactivation for testing.', 'astra-sites' ), 'placeholder' => esc_html__( 'How can we assist you?', 'astra-sites' ), 'show_cta' => 'false', 'accept_feedback' => 'false', ), 'plugin_not_working' => array( 'label' => esc_html__( 'The plugin isn\'t working properly.', 'astra-sites' ), 'placeholder' => esc_html__(... ); -
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( "woocommerce_taxonomy_args_{$data['taxonomy']}", array( 'hierarchical' => true, 'show_ui' => false, 'query_var' => true, 'rewrite' => false, ) ); -
apply_filters( "woocommerce_taxonomy_objects_{$data['taxonomy']}", array( 'product' ) ); -
do_action( 'wp_import_insert_post', $post_id, $original_id, $postdata, $data ); -
do_action( 'wp_import_insert_term', $term_id, $data ); -
do_action( 'wp_import_insert_term_failed', $result, $data ); -
apply_filters( 'wp_import_post_comments', $comments, $post_id, $post ); -
apply_filters( 'wp_import_post_data_processed', $postdata, $data ); -
apply_filters( 'wp_import_post_terms', $terms, $post_id, $data ); -
do_action( 'wp_import_set_post_terms', $tt_ids, $ids, $tax, $post_id, $data ); -
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_allowed_hosts', array( 'images.pexels.com', 'cdn.pixabay.com', 'pixabay.com', 'images.unsplash.com', 'plus.unsplash.com', ) ); -
apply_filters( 'zipwp_images_excluded_post_types', array( 'sureforms_form' ) ); -
apply_filters( 'zipwp_images_tab_title', __( 'Search Images', 'astra-sites' ) ); -
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' ) ... ); -
apply_filters( 'zipwp_partner_url_param', '' );
Generated from Starter Templates: AI-Powered Website Templates for Elementor & Gutenberg'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: