(hook_prefix)width filter-hookWC 1.0

Inherit value from parent.

Usage

add_filter( '(hook_prefix)width', 'wp_kama_hook_prefixwidth_filter', 10, 2 );

/**
 * Function for `(hook_prefix)width` filter-hook.
 * 
 * @param  $parent_data_width 
 * @param  $that              
 *
 * @return 
 */
function wp_kama_hook_prefixwidth_filter( $parent_data_width, $that ){

	// filter...
	return $parent_data_width;
}
$parent_data_width
-
$that
-

Where the hook is called

WC_Product_Variation::get_width()
(hook_prefix)width
woocommerce/includes/class-wc-product-variation.php 265
$value = apply_filters( $this->get_hook_prefix() . 'width', $this->parent_data['width'], $this );

Where the hook is used in WooCommerce

Usage not found.