woocommerce_product_variation_title filter-hookWC 1.0

Usage

add_filter( 'woocommerce_product_variation_title', 'wp_kama_woocommerce_product_variation_title_filter', 10, 4 );

/**
 * Function for `woocommerce_product_variation_title` filter-hook.
 * 
 * @param  $title_base  $separator  $title_suffix 
 * @param  $product                               
 * @param  $title_base                            
 * @param  $title_suffix                          
 *
 * @return 
 */
function wp_kama_woocommerce_product_variation_title_filter( $title_base  $separator  $title_suffix, $product, $title_base, $title_suffix ){

	// filter...
	return $title_base  $separator  $title_suffix;
}
$title_base $separator $title_suffix
-
$product
-
$title_base
-
$title_suffix
-

Where the hook is called

WC_Product_Variation_Data_Store_CPT::generate_product_title()
woocommerce_product_variation_title
woocommerce/includes/data-stores/class-wc-product-variation-data-store-cpt.php 313
return apply_filters( 'woocommerce_product_variation_title', $title_suffix ? $title_base . $separator . $title_suffix : $title_base, $product, $title_base, $title_suffix );

Where the hook is used in WooCommerce

Usage not found.