UnifiedSMB for WooCommerce 1.6.1 has 2 actions and 18 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 UnifiedSMB for WooCommerce fires an action
add_action( 'unifiedsmb_order_send_failed', function( $order, $fail_count, $status, $reason ) {
// Your code runs here.
}, 10, 4 );
// Change a value UnifiedSMB for WooCommerce is about to use
add_filter( 'unifiedsmb_advice_price_html', function( $html, $advice, $product ) {
// Change $html here.
return $html;
}, 10, 3 );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 the advice price markup, without the surrounding block element. */ apply_filters( 'unifiedsmb_advice_price_html', $html, $advice, $product ); -
/** * Sending an order to the backoffice failed. */ do_action( 'unifiedsmb_order_send_failed', $order, $fail_count, $status, $reason ); -
/** * An order reached the backoffice. */ do_action( 'unifiedsmb_order_sent', $order ); -
/** * Filters the add-ons of a product. */ apply_filters( 'unifiedsmb_product_addon_ids', $ids, $product ); -
/** * Filter the post types the SEO feature applies to. */ apply_filters( 'unifiedsmb_seo_post_types', $clean ); -
/** * Filter whether structured data is printed. */ apply_filters( 'unifiedsmb_seo_schema_enabled', $enabled ); -
/** * Filter the structured data nodes before they are printed. */ apply_filters( 'unifiedsmb_seo_schema_graph', $graph, $object ); -
/** * Filter whether the current object is kept out of the index. */ apply_filters( 'unifiedsmb_seo_should_noindex', $noindex, $object_id, $object_type ); -
/** * Filter whether the XML sitemap is served. */ apply_filters( 'unifiedsmb_seo_sitemap_enabled', $enabled ); -
/** * Filter the posts kept out of the sitemap. */ apply_filters( 'unifiedsmb_seo_sitemap_excluded_posts', $ids ); -
/** * Filter the number of URLs in one sub-sitemap. */ apply_filters( 'unifiedsmb_seo_sitemap_per_page', (int) SeoSettings::get( 'sitemap_per_page', self::PER_PAGE ) ); -
/** * Filter the sub-sitemaps the index lists. */ apply_filters( 'unifiedsmb_seo_sitemap_providers', $providers ); -
/** * Filter whether social sharing tags are printed. */ apply_filters( 'unifiedsmb_seo_social_enabled', $enabled ); -
/** * Filter the social tags before they are printed. */ apply_filters( 'unifiedsmb_seo_social_tags', $tags, $object ); -
/** * Filter the taxonomies the SEO feature applies to. */ apply_filters( 'unifiedsmb_seo_taxonomies', $clean ); -
/** * Filters whether the advice price is shown. Return false to hide it. */ apply_filters( 'unifiedsmb_show_advice_price', true, $product, $advice ); -
apply_filters( 'unifiedsmb_header_actions', $actions ); -
apply_filters( 'unifiedsmb_seo_replace_woocommerce_schema', true ); -
apply_filters( 'woocommerce_gateway_icon', $icon_html, $this->id ); -
apply_filters( 'woocommerce_sale_flash', '<span class="onsale">' . esc_html__( 'Sale!', 'woocommerce' ) . '</span>', $post, $product );
Generated from UnifiedSMB 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: