QODE Badges for WooCommerce 1.0.1 has 62 actions and 62 filters, read directly from its source code on Nov 19, 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 QODE Badges for WooCommerce fires an action
add_action( 'qode_badges_for_woocommerce_action_add_custom_post_type', function( $object ) {
// Your code runs here.
}, 10, 1 );
// Change a value QODE Badges for WooCommerce is about to use
add_filter( 'qode_badges_for_woocommerce_filter_default_badge_type', 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
-
apply_filters( 'qode_badges_for_woocommerce_filter_default_badge_type', '' ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_meta_box_save', array( 'product' ) ); -
apply_filters( 'qode_badges_for_woocommerce_filter_badge_types', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_border_badge_types', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_colors_badge_types', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_wp_kses_svg_atts', array( 'svg' => array( 'xmlns' => true, 'version' => true, 'id' => true, 'class' => true, 'x' => true, 'y' => true, 'aria-hidden' => true, 'aria-labelledby' => true, 'role' => true, 'width' => true, 'height' => true, 'viewbox' => true, 'enable-background' => true, 'focusable' => true, 'data-prefix' => true, 'data-icon' => true, ), 'g' => array( 'stroke' => true, 'stroke-width' => true, 'fill' =... ); -
apply_filters( 'qode_badge_for_woocommmerce_filter_text_options_type', array( 'textual' ) ); -
do_action( 'qode_badges_for_woocommerce_action_add_custom_post_type', $this ); -
do_action( 'qode_badges_for_woocommerce_action_additional_scripts' ); -
qode_badges_for_woocommerce_action_additional_scripts_on_options_page_{$this->get_slug()}
action Copy link Customise this hookdo_action( "qode_badges_for_woocommerce_action_additional_scripts_on_options_page_{$this->get_slug()}" ); -
do_action( 'qode_badges_for_woocommerce_action_after_badge_meta_box_map', $page ); -
qode_badges_for_woocommerce_action_after_badge_type_meta_box_map
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_after_badge_type_meta_box_map', $page ); -
do_action( 'qode_badges_for_woocommerce_action_after_include_modules' ); -
do_action( 'qode_badges_for_woocommerce_action_after_product_meta_box_map', $page ); -
do_action( 'qode_badges_for_woocommerce_action_after_save_product' ); -
do_action( 'qode_badges_for_woocommerce_action_after_save_qbfw_badge' ); -
do_action( 'qode_badges_for_woocommerce_action_badge_template_before_text', $params ); -
do_action( 'qode_badges_for_woocommerce_action_badges_color_meta_options', $colors_row, $colors_section ); -
do_action( 'qode_badges_for_woocommerce_action_before_badge_meta_box_map', $page ); -
do_action( 'qode_badges_for_woocommerce_action_before_global_options_map', $page ); -
do_action( 'qode_badges_for_woocommerce_action_before_include_modules' ); -
do_action( 'qode_badges_for_woocommerce_action_before_product_meta_box_map', $page ); -
do_action( 'qode_badges_for_woocommerce_action_core_options_init' ); -
do_action( 'qode_badges_for_woocommerce_action_default_meta_boxes_init' ); -
do_action( 'qode_badges_for_woocommerce_action_default_options_init', $page ); -
qode_badges_for_woocommerce_action_framework_{$custom_holder_slug}
action Copy link Customise this hookdo_action( "qode_badges_for_woocommerce_action_framework_{$custom_holder_slug}" ); -
qode_badges_for_woocommerce_action_framework_after_dashboard_scripts
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_dashboard_scripts' ); -
qode_badges_for_woocommerce_action_framework_after_framework_option_reset
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_framework_option_reset' ); -
qode_badges_for_woocommerce_action_framework_after_framework_option_save
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_framework_option_save' ); -
qode_badges_for_woocommerce_action_framework_after_framework_plugin_loaded
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_framework_plugin_loaded' ); -
qode_badges_for_woocommerce_action_framework_after_framework_root_init
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_framework_root_init' ); -
qode_badges_for_woocommerce_action_framework_after_general_options_map
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_general_options_map', $page ); -
qode_badges_for_woocommerce_action_framework_after_meta_options_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_meta_options_register' ); -
qode_badges_for_woocommerce_action_framework_after_options_init_{$this->get_options_name()}
action Copy link Customise this hookdo_action( "qode_badges_for_woocommerce_action_framework_after_options_init_{$this->get_options_name()}", $this->get_options_name() ); -
do_action( 'qode_badges_for_woocommerce_action_framework_after_options_map', $this->get_menu_name() ); -
qode_badges_for_woocommerce_action_framework_after_options_populate
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_options_populate', $this->get_options_name() ); -
qode_badges_for_woocommerce_action_framework_after_options_registered
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_options_registered', $this->get_options_name() ); -
qode_badges_for_woocommerce_action_framework_after_shortcodes_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_shortcodes_register' ); -
qode_badges_for_woocommerce_action_framework_after_widgets_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_after_widgets_register' ); -
qode_badges_for_woocommerce_action_framework_before_dashboard_scripts
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_dashboard_scripts' ); -
qode_badges_for_woocommerce_action_framework_before_framework_option_save
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_framework_option_save', $saved_global_options, $new_global_options ); -
qode_badges_for_woocommerce_action_framework_before_framework_plugin_loaded
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_framework_plugin_loaded' ); -
qode_badges_for_woocommerce_action_framework_before_framework_root_init
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_framework_root_init' ); -
qode_badges_for_woocommerce_action_framework_before_meta_options_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_meta_options_register' ); -
qode_badges_for_woocommerce_action_framework_before_options_init_{$this->get_options_name()}
action Copy link Customise this hookdo_action( "qode_badges_for_woocommerce_action_framework_before_options_init_{$this->get_options_name()}", $this->get_options_name() ); -
qode_badges_for_woocommerce_action_framework_before_options_map
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_options_map', $this->get_menu_name() ); -
qode_badges_for_woocommerce_action_framework_before_options_populate
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_options_populate', $this->get_options_name() ); -
qode_badges_for_woocommerce_action_framework_before_options_registered
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_options_registered', $this->get_options_name() ); -
qode_badges_for_woocommerce_action_framework_before_shortcodes_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_shortcodes_register' ); -
qode_badges_for_woocommerce_action_framework_before_widgets_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_before_widgets_register' ); -
qode_badges_for_woocommerce_action_framework_custom_attribute_fields
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_custom_attribute_fields' ); -
qode_badges_for_woocommerce_action_framework_custom_media_fields
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_custom_media_fields' ); -
qode_badges_for_woocommerce_action_framework_custom_page_content
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_custom_page_content', $page_slug ?? '' ); -
qode_badges_for_woocommerce_action_framework_custom_taxonomy_fields
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_custom_taxonomy_fields' ); -
qode_badges_for_woocommerce_action_framework_field_type_load_assets
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_field_type_load_assets', $this->field_type ); -
qode_badges_for_woocommerce_action_framework_field_widget_type_load_assets
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_field_widget_type_load_assets', $this->field_type ); -
qode_badges_for_woocommerce_action_framework_page_additional_scripts
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_framework_page_additional_scripts' ); -
do_action( 'qode_badges_for_woocommerce_action_framework_populate_meta_box' ); -
do_action( 'qode_badges_for_woocommerce_action_include_cpt_tax_fields' ); -
do_action( 'qode_badges_for_woocommerce_action_on_activation' ); -
do_action( 'qode_badges_for_woocommerce_action_on_deactivation' ); -
do_action( 'qode_badges_for_woocommerce_action_position_before_z_index', $position_all_row ); -
qode_badges_for_woocommerce_action_product_badge_relation_table_setup
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_action_product_badge_relation_table_setup', $this ); -
do_action( 'qode_badges_for_woocommerce_action_register_cpt_tax_fields' ); -
do_action( 'qode_badges_for_woocommerce_action_textual_badge_after_options', $textual_row, $textual_section, $default_type ); -
apply_filters( 'qode_badges_for_woocommerce_badges_filter_badges_style', '' ); -
apply_filters( 'qode_badges_for_woocommerce_badges_filter_preview_style', '' ); -
apply_filters( 'qode_badges_for_woocommerce_filter_add_sub_page', $sub_pages = array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_additional_badge_style', array(), $badge ); -
apply_filters( 'qode_badges_for_woocommerce_filter_admin_pages_cpt', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_admin_pages_tax', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_badge_classes_array', $classes, $params ); -
apply_filters( 'qode_badges_for_woocommerce_filter_badge_final_params_for_html', $final_params ); -
apply_filters( 'qode_badges_for_woocommerce_filter_badge_html', $badge_html, $badge_id, $final_params ); -
apply_filters( 'qode_badges_for_woocommerce_filter_default_value', '', $field_type ); -
apply_filters( 'qode_badges_for_woocommerce_filter_enable_global_options', true ); -
qode_badges_for_woocommerce_filter_framework_add_elementor_inline_style
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_add_elementor_inline_style', $style = '' ); -
qode_badges_for_woocommerce_filter_framework_add_shortcode_container
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_add_shortcode_container', array() ); -
qode_badges_for_woocommerce_filter_framework_add_wpbakery_inline_style
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_add_wpbakery_inline_style', $style = '' ); -
qode_badges_for_woocommerce_filter_framework_complete_fonts_list
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_complete_fonts_list', $complete_fonts_array ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_field_mapping', $class, $post_id ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_get_option_value', $value, $name ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_google_fonts', $google_fonts_array ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_meta_box_remove', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_page_id', $page_id ); -
qode_badges_for_woocommerce_filter_framework_parse_repeater_items
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_parse_repeater_items', $items_formatted ); -
qode_badges_for_woocommerce_filter_framework_register_admin_options
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_register_admin_options', $this->admin_options ); -
qode_badges_for_woocommerce_filter_framework_shortcode_content_html
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_shortcode_content_html', $content, $options ); -
qode_badges_for_woocommerce_filter_framework_shortcode_holder_classes
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_shortcode_holder_classes', $holder_classes ); -
qode_badges_for_woocommerce_filter_framework_shortcode_item_classes
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_shortcode_item_classes', $item_classes ); -
qode_badges_for_woocommerce_filter_framework_shortcode_options_import_skip
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_shortcode_options_import_skip', array( 'dependency' ) ); -
qode_badges_for_woocommerce_filter_framework_value_through_levels_{$name}
filter Copy link Customise this hookapply_filters( "qode_badges_for_woocommerce_filter_framework_value_through_levels_{$name}", $value ); -
qode_badges_for_woocommerce_filter_framework_web_safe_fonts_list
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_web_safe_fonts_list', array( 'Arial', 'Arial Black', 'Comic Sans MS', 'Courier New', 'Georgia', 'Impact', 'Lucida Console', 'Lucida Sans Unicode', 'Palatino Linotype', 'Tahoma', 'Times New Roman', 'Trebuchet MS', 'Verdana', ) ); -
qode_badges_for_woocommerce_filter_framework_wp_kses_content_atts
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_wp_kses_content_atts', array( 'div' => array( 'id' => true, 'class' => true, 'style' => true, ), 'ul' => array( 'class' => true, ), 'li' => array( 'class' => true, ), 'br' => true, 'h1' => array( 'class' => true, 'style' => true, ), 'h2' => array( 'class' => true, 'style' => true, ), 'h3' => array( 'class' => true, 'style' => true, ), 'h4' => array( 'class' => true, 'style' => true, ), 'h5' => array( 'class' => true,... ); -
qode_badges_for_woocommerce_filter_framework_wp_kses_description_atts
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_wp_kses_description_atts', array() ); -
qode_badges_for_woocommerce_filter_framework_wp_kses_html_fields
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_framework_wp_kses_html_fields', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_framework_wp_kses_img_atts', array( 'itemprop' => true, 'id' => true, 'class' => true, 'width' => true, 'height' => true, 'src' => true, 'srcset' => true, 'sizes' => true, 'alt' => true, 'title' => true, ) ); -
qode_badges_for_woocommerce_filter_general_additional_badge_style
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_general_additional_badge_style', '', $badge ); -
apply_filters( 'qode_badges_for_woocommerce_filter_general_additional_style', '' ); -
apply_filters( 'qode_badges_for_woocommerce_filter_has_meta_box_options', false ); -
apply_filters( 'qode_badges_for_woocommerce_filter_hide_height_types', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_hide_width_types', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_is_plugin_installed', false, $plugin ); -
apply_filters( 'qode_badges_for_woocommerce_filter_localize_main_plugin_script', array( 'adminBarHeight' => is_admin_bar_showing() ? ( wp_is_mobile() ? 46 : 32 ) : 0, 'restUrl' => esc_url_raw( rest_url() ), 'restNonce' => wp_create_nonce( 'wp_rest' ), ) ); -
qode_badges_for_woocommerce_filter_localize_preview_plugin_script
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_localize_preview_plugin_script', array( 'adminBarHeight' => is_admin_bar_showing() ? ( wp_is_mobile() ? 46 : 32 ) : 0, ) ); -
apply_filters( 'qode_badges_for_woocommerce_filter_predefined_images_array', $images ); -
apply_filters( 'qode_badges_for_woocommerce_filter_prepare_badges_text', $text, $params ); -
apply_filters( 'qode_badges_for_woocommerce_filter_preview_params', $options ); -
qode_badges_for_woocommerce_filter_preview_rest_api_global_variables
filter Copy link Customise this hookapply_filters( 'qode_badges_for_woocommerce_filter_preview_rest_api_global_variables', $global, $this->get_namespace() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_preview_rest_api_routes', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_register_custom_post_types', array() ); -
apply_filters( 'qode_badges_for_woocommerce_filter_select_type_option', $options, $type, $enable_default, $exclude ); -
apply_filters( 'qode_badges_for_woocommerce_filter_svg_icon', $html, $name, $class_name ); -
qode_badges_for_woocommerce_framework_action_after_post_types_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_framework_action_after_post_types_register' ); -
qode_badges_for_woocommerce_framework_action_before_post_types_register
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_framework_action_before_post_types_register' ); -
qode_badges_for_woocommerce_framework_action_field_wp_type_load_assets
action Copy link Customise this hookdo_action( 'qode_badges_for_woocommerce_framework_action_field_wp_type_load_assets', $this->field_type ); -
apply_filters( 'qode_badges_for_woocommerce_framework_filter_wp_kses_custom', $content, $type ); -
apply_filters( 'sanitize_text_field', $sanitized_value, $value ); -
woocommerce_single_product_flexslider_enabled
filter Used by 10 plugins → Copy link Customise this hookapply_filters( 'woocommerce_single_product_flexslider_enabled', get_theme_support( 'wc-product-gallery-slider' ) );
Generated from QODE Badges for WooCommerce'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: