MarketUp Legal Guarantee & GARAN Label for WooCommerce 1.3.1 has 1 actions and 9 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 MarketUp Legal Guarantee & GARAN Label for WooCommerce fires an action
add_action( 'marklegu_deactivated', function() {
// Your code runs here.
}, 10, 1 );
// Change a value MarketUp Legal Guarantee & GARAN Label for WooCommerce is about to use
add_filter( 'marklegu_brand_taxonomies', 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
-
/** * Filters the taxonomies treated as product brands. */ apply_filters( 'marklegu_brand_taxonomies', array( 'product_brand', 'pwb-brand', 'yith_product_brand' ) ); -
/** * Filters whether order emails show the full GARAN label image. Return false * to list GARAN products as text only. */ apply_filters( 'marklegu_email_garan_image', true, $data ); -
/** * Filters which WooCommerce emails include the notice. */ apply_filters( 'marklegu_email_ids', array( 'customer_processing_order', 'customer_on_hold_order', 'customer_completed_order' ) ); -
/** * Filters the GARAN data for a product. Return null to hide the label. */ apply_filters( 'marklegu_garan_data', $data, $product ); -
/** * Filters the language of the harmonised notice. */ apply_filters( 'marklegu_notice_language', $code ); -
/** * Filters the sentence that opens the notice. Only this sentence can be * changed (e.g. for WPML/Polylang string translation); the official notice * image cannot. */ apply_filters( 'marklegu_notice_text', MARKLEGU_I18n::translate_for( $code, 'Your legal guarantee rights' ), $code, $context ); -
/** * Whether to show the notice trigger in this context. */ apply_filters( 'marklegu_show_notice', true, $context ); -
/** * This filter allows replacing a template path entirely. */ apply_filters( 'marklegu_template_path', $file, $name, $args ); -
do_action( 'marklegu_deactivated' ); -
apply_filters( 'wpml_current_language', null );
Generated from MarketUp Legal Guarantee & GARAN Label 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: