(hook_prefix)backorders хук-фильтрWC 1.0

Использование

add_filter( '(hook_prefix)backorders', 'wp_kama_hook_prefixbackorders_filter', 10, 2 );

/**
 * Function for `(hook_prefix)backorders` filter-hook.
 * 
 * @param  $parent_data_backorders 
 * @param  $that                   
 *
 * @return 
 */
function wp_kama_hook_prefixbackorders_filter( $parent_data_backorders, $that ){

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

Где вызывается хук

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

Где используется хук в WooCommerce

Использование не найдено.