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

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

add_action( 'wc_marketplace_suggestions_products_empty_state', 'wp_kama_wc_marketplace_suggestions_products_empty_state_action' );

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

	// action...
}

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

WC_Admin_List_Table_Products::render_blank_state()
wc_marketplace_suggestions_products_empty_state
woocommerce/includes/admin/list-tables/class-wc-admin-list-table-products.php 61
do_action( 'wc_marketplace_suggestions_products_empty_state' );

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

woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php 34
add_action( 'wc_marketplace_suggestions_products_empty_state', array( __CLASS__, 'render_products_list_empty_state' ) );