woocommerce_product_data_panels хук-событиеWC 1.0

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

add_action( 'woocommerce_product_data_panels', 'wp_kama_woocommerce_product_data_panels_action' );

/**
 * Function for `woocommerce_product_data_panels` action-hook.
 * 
 * @return void
 */
function wp_kama_woocommerce_product_data_panels_action(){

	// action...
}

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

В файле: /includes/admin/meta-boxes/views/html-product-data-panel.php
woocommerce_product_data_panels
woocommerce/includes/admin/meta-boxes/views/html-product-data-panel.php 54
do_action( 'woocommerce_product_data_panels' );

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

woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php 28
add_action( 'woocommerce_product_data_panels', array( __CLASS__, 'product_data_panels' ) );