woocommerce_structured_data_type_for_page хук-фильтрWC 1.0

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

add_filter( 'woocommerce_structured_data_type_for_page', 'wp_kama_woocommerce_structured_data_type_for_page_filter' );

/**
 * Function for `woocommerce_structured_data_type_for_page` filter-hook.
 * 
 * @param  $types 
 *
 * @return 
 */
function wp_kama_woocommerce_structured_data_type_for_page_filter( $types ){

	// filter...
	return $types;
}
$types
-

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

WC_Structured_Data::get_data_type_for_page()
woocommerce_structured_data_type_for_page
woocommerce/includes/class-wc-structured-data.php 124
return array_filter( apply_filters( 'woocommerce_structured_data_type_for_page', $types ) );

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

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