Custom Product Tabs for WooCommerce & WordPress Tabs Builder icon
Content & Editing

Custom Product Tabs for WooCommerce & WordPress Tabs Builder hooks reference

  • By ShapedPlugin LLC
  • v3.1.9 New
  • Updated

Custom Product Tabs for WooCommerce & WordPress Tabs Builder 3.1.9 has 10 actions and 49 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Custom Product Tabs for WooCommerce & WordPress Tabs Builder fires an action
add_action( 'media_buttons', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Custom Product Tabs for WooCommerce & WordPress Tabs Builder is about to use
add_filter( 'shapedplugin_bfcm_2026_active', function( $active ) {
	// Change $active here.
	return $active;
}, 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

  • src/Core/Notices/shapedplugin-bfcm-notice.php line 143
    /**
     * Filters whether the BFCM 2026 notice campaign is active.
     */
    apply_filters( 'shapedplugin_bfcm_2026_active', $active );
  • src/Modules/WPTabs/Admin/Admin.php line 86 · used in 4 places
    apply_filters( 'sp_wp_tabs_ui_permission', 'manage_options' );
  • src/Modules/ProductTabs/Frontend/AssetsHandler.php line 41 · used in 3 places
    apply_filters( 'smart_tabs_enqueue_dev_mode', false );
  • src/Modules/WPTabs/Frontend/partials/tab-post/tabs-post.php line 62 · used in 2 places
    apply_filters( 'sp_tabs_name_slug', $name_url );
  • src/Modules/ProductTabs/Admin/ProductTabsCPT.php line 57 · used in 2 places
    apply_filters( 'sp_wp_tab_pro_ui_permission', 'manage_options' );
  • src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php line 48 · used in 2 places
    apply_filters( 'sptpro_repeatable_product_tabs_heading', $tab_title_html, $tab );
  • src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php line 98 · used in 2 places
    apply_filters( 'wpml_post_language_details', null, $product_id );
  • src/Lib/CSFramework/Classes/metabox.class.php line 103 · used in 2 places
    apply_filters( "wptabspro_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this );
  • src/Lib/CSFramework/Classes/metabox.class.php line 494 · used in 2 places
    apply_filters( "wptabspro_{$this->unique}_save", $data, $post_id, $this );
  • src/Lib/CSFramework/Classes/metabox.class.php line 524 · used in 2 places
    do_action( "wptabspro_{$this->unique}_save_after", $data, $post_id, $this );
  • src/Lib/CSFramework/Classes/metabox.class.php line 496 · used in 2 places
    do_action( "wptabspro_{$this->unique}_save_before", $data, $post_id, $this );
  • src/Lib/CSFramework/Classes/metabox.class.php line 522 · used in 2 places
    do_action( "wptabspro_{$this->unique}_saved", $data, $post_id, $this );
  • src/Lib/CSFramework/Classes/metabox.class.php line 104 · used in 2 places
    apply_filters( "wptabspro_{$this->unique}_sections", $params['sections'], $this );
  • src/Core/Tools/ImportExport.php line 113 · used in 2 places
    apply_filters( 'wptabspro_import_export_capability', 'manage_options' );
  • media_buttons

    action
    src/Lib/CSFramework/fields/wp_editor/wp_editor.php line 125
    do_action( 'media_buttons' );
  • src/Modules/ProductTabs/Admin/AdminSupport.php line 154
    apply_filters( 'sp_products_tabs_admin_items_per_page', 100, $post_type );
  • src/Integration/TabsWidget.php line 46
    apply_filters( 'sp_smart_tabs_widget_title', $instance['title'] );
  • src/Modules/WPTabs/Frontend/Frontend.php line 172
    apply_filters( 'sp_tab_content_markdown_to_html', false );
  • src/Lib/CSFramework/fields/wp_editor/wp_editor.php line 85
    apply_filters( 'sp_tabs_description_allow_tags', $allowed_tags );
  • src/Modules/WPTabs/Frontend/partials/tab-post/post-meta.php line 42
    apply_filters( 'sp_tabs_post_meta_position', 'before_descriptions' );
  • src/Modules/WPTabs/Frontend/partials/tab-post/tabs-post.php line 56
    apply_filters( 'sp_tabs_post_title', get_the_title( get_the_ID() ), get_the_ID(), $post_id );
  • src/Modules/ProductTabs/Frontend/Frontend.php line 465
    apply_filters( 'sp_wc_tabs_content_wpautop_remove', true );
  • src/Modules/WPTabs/Frontend/partials/tab-post/post-meta.php line 20
    apply_filters( 'sp_wp_tabs_author_before_author_name', __( 'By ', 'wp-expand-tabs-free' ) );
  • src/Modules/WPTabs/Frontend/partials/tab-custom/content.php line 39
    apply_filters( 'sp_wp_tabs_autop_remove', true );
  • src/Modules/WPTabs/Frontend/partials/tab-custom/content.php line 37
    apply_filters( 'sp_wp_tabs_content', $sptpro_data['tabs_content_description'] );
  • src/Lib/CSFramework/functions/sanitize.php line 217
    apply_filters( 'sp_wp_tabs_desc_allowed_tags', $allowed_tags );
  • src/Modules/WPTabs/Frontend/partials/tab-post/post-meta.php line 14
    apply_filters( 'sp_wp_tabs_enable_post_meta', true );
  • src/Core/Tools/ImportExport.php line 205
    do_action( 'sp_wp_tabs_imported', $new_tabs_id );
  • src/Modules/WPTabs/Admin/TabsPostType.php line 64
    apply_filters( 'sp_wp_tabs_menu_position', 115 );
  • src/Modules/WPTabs/Frontend/partials/tab-post/post-meta.php line 21
    apply_filters( 'sp_wp_tabs_meta_separator', ' / ' );
  • src/Modules/WPTabs/Admin/TabsPostType.php line 55
    apply_filters( 'sp_wp_tabs_post_type_args', array( 'labels' => $labels, 'public' => false, 'hierarchical' => false, 'exclude_from_search' => true, 'show_ui' => $show_ui, 'show_in_admin_bar' => false, 'menu_position' => apply_filters( 'sp_wp_tabs_menu_position', 115 ), 'menu_icon' => 'data:image/svg+xml;base64,' . base64_encode( '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" ... );
  • src/Modules/WPTabs/Admin/TabsPostType.php line 36
    apply_filters( 'sp_wp_tabs_post_type_labels', array( 'name' => esc_html__( 'Tab Groups', 'wp-expand-tabs-free' ), 'singular_name' => esc_html__( 'Tabs', 'wp-expand-tabs-free' ), 'add_new' => esc_html__( 'Add New', 'wp-expand-tabs-free' ), 'add_new_item' => esc_html__( 'Add New Tab Group', 'wp-expand-tabs-free' ), 'edit_item' => esc_html__( 'Edit Tab Group', 'wp-expand-tabs-free' ), 'new_item' => esc_html__( 'New Tab Group', 'wp-expand-tabs... );
  • src/Modules/WPTabs/Frontend/partials/tab-post/post-meta.php line 22
    apply_filters( 'sp_wp_tabs_prefix_before_date', __( 'On ', 'wp-expand-tabs-free' ) );
  • src/Modules/WPTabs/Frontend/partials/tab-post/feature-image.php line 13
    apply_filters( 'sp_wp_tabs_show_post_feature_image', true );
  • src/Lib/CSFramework/functions/sanitize.php line 158
    apply_filters( 'sp_wp_tabs_title_allowed_tags', $allowed_tags );
  • src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php line 145
    apply_filters( 'sptpro_repeatable_product_tabs_content', $content, $tab );
  • src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php line 134
    apply_filters( 'sptpro_the_content_filter', true );
  • src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php line 139
    apply_filters( 'sptpro_woo_tab_content', $tab['content'] );
  • the_content

    filter
    src/Modules/ProductTabs/Frontend/DeprecatedTabGroup.php line 137
    apply_filters( 'the_content', $tab['content'] );
  • src/Lib/CSFramework/Classes/abstract.class.php line 62
    apply_filters( "wptabspro_{$this->unique}_output_css", $this->output_css, $this );
  • src/Lib/CSFramework/functions/actions.php line 37
    apply_filters( 'wptabspro_chosen_ajax_capability', 'manage_options' );
  • src/Lib/CSFramework/Classes/fields.class.php line 555
    apply_filters( 'wptabspro_chosen_allowed_callables', array( 'get_pages', 'get_posts', 'get_terms', 'get_users' ) );
  • src/Lib/CSFramework/Classes/SP_CSFramework.php line 396
    apply_filters( 'wptabspro_color_palette', array() );
  • src/Lib/CSFramework/Classes/SP_CSFramework.php line 360
    apply_filters( 'wptabspro_dev_mode', false );
  • src/Lib/CSFramework/Classes/SP_CSFramework.php line 430
    do_action( 'wptabspro_enqueue' );
  • src/Lib/CSFramework/fields/typography/typography.php line 144
    apply_filters( 'wptabspro_field_typography_backup_font_family', array( 'Arial, Helvetica, sans-serif', "'Arial Black', Gadget, sans-serif", "'Comic Sans MS', cursive, sans-serif", 'Impact, Charcoal, sans-serif', "'Lucida Sans Unicode', 'Lucida Grande', sans-serif", 'Tahoma, Geneva, sans-serif', "'Trebuchet MS', Helvetica, sans-serif'", 'Verdana, Geneva, sans-serif', "'Courier New', Courier, monospace", "'Lucida Console', Monaco, monospace", 'Georgia, serif'... );
  • src/Lib/CSFramework/fields/typography/typography.php line 472
    apply_filters( 'wptabspro_field_typography_customwebfonts', array() );
  • src/Lib/CSFramework/fields/typography/typography.php line 512
    apply_filters( 'wptabspro_field_typography_defaultstyles', array( 'normal', 'italic', '700', '700italic' ) );
  • src/Lib/CSFramework/fields/typography/typography.php line 514
    apply_filters( 'wptabspro_field_typography_googlestyles', array( '100' => 'Thin 100', '100italic' => 'Thin 100 Italic', '200' => 'Extra-Light 200', '200italic' => 'Extra-Light 200 Italic', '300' => 'Light 300', '300italic' => 'Light 300 Italic', 'normal' => 'Normal 400', 'italic' => 'Normal 400 Italic', '500' => 'Medium 500', '500italic' => 'Medium 500 Italic', '600' => 'Semi-Bold 600', '600italic' => 'Semi-Bold 600 Italic', '700' => 'Bold 700', '700i... );
  • src/Lib/CSFramework/fields/typography/typography.php line 506
    apply_filters( 'wptabspro_field_typography_googlewebfonts', array() );
  • src/Lib/CSFramework/fields/typography/typography.php line 483
    apply_filters( 'wptabspro_field_typography_safewebfonts', array( 'Arial', 'Arial Black', 'Helvetica', 'Times New Roman', 'Courier New', 'Tahoma', 'Verdana', 'Impact', 'Trebuchet MS', 'Comic Sans MS', 'Lucida Console', 'Lucida Sans Unicode', 'Georgia, serif', 'Palatino Linotype', ) );
  • src/Lib/CSFramework/fields/typography/typography.php line 538
    apply_filters( 'wptabspro_field_typography_webfonts', $webfonts );
  • src/Lib/CSFramework/Classes/SP_CSFramework.php line 89
    do_action( 'wptabspro_init' );
  • src/Lib/CSFramework/Classes/SP_CSFramework.php line 149
    do_action( 'wptabspro_loaded' );
  • src/Lib/CSFramework/Classes/options.class.php line 893
    do_action( 'wptabspro_options_after' );
  • src/Lib/CSFramework/Classes/options.class.php line 730
    do_action( 'wptabspro_options_before' );
  • src/Lib/CSFramework/Classes/SP_CSFramework.php line 223
    apply_filters( 'wptabspro_override', 'wptabspro-override' );
  • src/Modules/ProductTabs/Admin/SaveHooks.php line 438
    apply_filters( 'wptabspro_product_tabs_order_capability', 'manage_options' );
  • src/Lib/CSFramework/fields/wp_editor/wp_editor.php line 141
    apply_filters( 'wptabspro_wp_editor', array( 'tinymce' => array( 'wp_skip_init' => true, ), ) );

Generated from Custom Product Tabs for WooCommerce & WordPress Tabs Builder's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: