Choosly 1.1.21 has 1 actions and 14 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 Choosly fires an action
add_action( 'villatheme_support_product-variations-swatches-for-woocommerce', function() {
// Your code runs here.
}, 10, 1 );
// Change a value Choosly is about to use
add_filter( 'woocommerce_product_attribute_term_name', function( $name, $selected_term ) {
// Change $name here.
return $name;
}, 10, 2 );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
-
/** * Filter the selected attribute term name. */ apply_filters( 'woocommerce_product_attribute_term_name', $selected_term->name, $selected_term ); -
apply_filters( 'woocommerce_variation_option_name', $term->name, $term, $attribute, $product ); -
apply_filters( 'viwpvs_variation_option_tooltip', $term_name, $term, $attribute, $variations, $product ); -
plugin_locale
filterapply_filters( 'plugin_locale', determine_locale(), 'product-variations-swatches-for-woocommerce' ); -
apply_filters( "vi_woo_product_variation_swatches_filter_color-{$color}", $this->default_color[ $color ] ); -
apply_filters( 'vi_woo_product_variation_swatches_params', wp_parse_args( $vi_wpvs_settings, $this->default ) ); -
apply_filters( "vi_woo_product_variation_swatches_params_default-{$name}", $this->default[ $name ] ); -
apply_filters( "vi_woo_product_variation_swatches_params-{$name}", $this->params[ $name ] ); -
villatheme_check_requires
filterapply_filters( 'villatheme_check_requires', wp_parse_args( $args, [ 'plugin_name' => '', 'php_version' => '', 'wp_version' => '', 'wc_version' => '', 'require_plugins' => [], ] ) ); -
villatheme_form_ads_data
filterapply_filters( 'villatheme_form_ads_data', ob_get_clean() ); -
do_action( 'villatheme_support_product-variations-swatches-for-woocommerce' ); -
apply_filters( 'viwpvs_frontend_get_product_terms', $terms, $product, $terms ); -
apply_filters( 'viwpvs_import_settings_max_bytes', 3 * 1024 * 1024 ); -
apply_filters( 'viwpvs_should_enqueue_frontend', $should_enqueue ); -
apply_filters( 'woocommerce_admin_terms_metabox_datalimit', 50 );
Generated from Choosly'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: