wc_marketplace_suggestions_orders_empty_state хук-событиеWC 6.6.1

Renders after the 'blank state' message for the order list table has rendered.

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

add_action( 'wc_marketplace_suggestions_orders_empty_state', 'wp_kama_wc_marketplace_suggestions_orders_empty_state_action' );

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

	// action...
}

Список изменений

С версии 6.6.1 Введена.

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

ListTable::render_blank_state()
wc_marketplace_suggestions_orders_empty_state
woocommerce/src/Internal/Admin/Orders/ListTable.php 194
do_action( 'wc_marketplace_suggestions_orders_empty_state' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment

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

woocommerce/includes/admin/marketplace-suggestions/class-wc-marketplace-suggestions.php 35
add_action( 'wc_marketplace_suggestions_orders_empty_state', array( __CLASS__, 'render_orders_list_empty_state' ) );