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.
// 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
-
/** * Filters whether the BFCM 2026 notice campaign is active. */ apply_filters( 'shapedplugin_bfcm_2026_active', $active ); -
sp_wp_tabs_ui_permission
filterapply_filters( 'sp_wp_tabs_ui_permission', 'manage_options' ); -
smart_tabs_enqueue_dev_mode
filterapply_filters( 'smart_tabs_enqueue_dev_mode', false ); -
sp_tabs_name_slug
filterapply_filters( 'sp_tabs_name_slug', $name_url ); -
sp_wp_tab_pro_ui_permission
filterapply_filters( 'sp_wp_tab_pro_ui_permission', 'manage_options' ); -
apply_filters( 'sptpro_repeatable_product_tabs_heading', $tab_title_html, $tab ); -
wpml_post_language_details
filterapply_filters( 'wpml_post_language_details', null, $product_id ); -
apply_filters( "wptabspro_{$this->unique}_args", wp_parse_args( $params['args'], $this->args ), $this ); -
apply_filters( "wptabspro_{$this->unique}_save", $data, $post_id, $this ); -
do_action( "wptabspro_{$this->unique}_save_after", $data, $post_id, $this ); -
do_action( "wptabspro_{$this->unique}_save_before", $data, $post_id, $this ); -
do_action( "wptabspro_{$this->unique}_saved", $data, $post_id, $this ); -
apply_filters( "wptabspro_{$this->unique}_sections", $params['sections'], $this ); -
apply_filters( 'wptabspro_import_export_capability', 'manage_options' ); -
media_buttons
actiondo_action( 'media_buttons' ); -
apply_filters( 'sp_products_tabs_admin_items_per_page', 100, $post_type ); -
sp_smart_tabs_widget_title
filterapply_filters( 'sp_smart_tabs_widget_title', $instance['title'] ); -
apply_filters( 'sp_tab_content_markdown_to_html', false ); -
apply_filters( 'sp_tabs_description_allow_tags', $allowed_tags ); -
sp_tabs_post_meta_position
filterapply_filters( 'sp_tabs_post_meta_position', 'before_descriptions' ); -
sp_tabs_post_title
filterapply_filters( 'sp_tabs_post_title', get_the_title( get_the_ID() ), get_the_ID(), $post_id ); -
apply_filters( 'sp_wc_tabs_content_wpautop_remove', true ); -
apply_filters( 'sp_wp_tabs_author_before_author_name', __( 'By ', 'wp-expand-tabs-free' ) ); -
sp_wp_tabs_autop_remove
filterapply_filters( 'sp_wp_tabs_autop_remove', true ); -
sp_wp_tabs_content
filterapply_filters( 'sp_wp_tabs_content', $sptpro_data['tabs_content_description'] ); -
sp_wp_tabs_desc_allowed_tags
filterapply_filters( 'sp_wp_tabs_desc_allowed_tags', $allowed_tags ); -
sp_wp_tabs_enable_post_meta
filterapply_filters( 'sp_wp_tabs_enable_post_meta', true ); -
sp_wp_tabs_imported
actiondo_action( 'sp_wp_tabs_imported', $new_tabs_id ); -
sp_wp_tabs_meta_separator
filterapply_filters( 'sp_wp_tabs_meta_separator', ' / ' ); -
sp_wp_tabs_post_type_args
filterapply_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" ... ); -
sp_wp_tabs_post_type_labels
filterapply_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... ); -
apply_filters( 'sp_wp_tabs_prefix_before_date', __( 'On ', 'wp-expand-tabs-free' ) ); -
apply_filters( 'sp_wp_tabs_show_post_feature_image', true ); -
apply_filters( 'sp_wp_tabs_title_allowed_tags', $allowed_tags ); -
apply_filters( 'sptpro_repeatable_product_tabs_content', $content, $tab ); -
sptpro_the_content_filter
filterapply_filters( 'sptpro_the_content_filter', true ); -
sptpro_woo_tab_content
filterapply_filters( 'sptpro_woo_tab_content', $tab['content'] ); -
the_content
filterapply_filters( 'the_content', $tab['content'] ); -
apply_filters( "wptabspro_{$this->unique}_output_css", $this->output_css, $this ); -
apply_filters( 'wptabspro_chosen_ajax_capability', 'manage_options' ); -
apply_filters( 'wptabspro_chosen_allowed_callables', array( 'get_pages', 'get_posts', 'get_terms', 'get_users' ) ); -
wptabspro_color_palette
filterapply_filters( 'wptabspro_color_palette', array() ); -
wptabspro_dev_mode
filterapply_filters( 'wptabspro_dev_mode', false ); -
wptabspro_enqueue
actiondo_action( 'wptabspro_enqueue' ); -
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'... ); -
apply_filters( 'wptabspro_field_typography_customwebfonts', array() ); -
apply_filters( 'wptabspro_field_typography_defaultstyles', array( 'normal', 'italic', '700', '700italic' ) ); -
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... ); -
apply_filters( 'wptabspro_field_typography_googlewebfonts', array() ); -
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', ) ); -
apply_filters( 'wptabspro_field_typography_webfonts', $webfonts ); -
wptabspro_init
actiondo_action( 'wptabspro_init' ); -
wptabspro_loaded
actiondo_action( 'wptabspro_loaded' ); -
wptabspro_options_after
actiondo_action( 'wptabspro_options_after' ); -
wptabspro_options_before
actiondo_action( 'wptabspro_options_before' ); -
wptabspro_override
filterapply_filters( 'wptabspro_override', 'wptabspro-override' ); -
apply_filters( 'wptabspro_product_tabs_order_capability', 'manage_options' ); -
wptabspro_wp_editor
filterapply_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: