wc_marketplace_suggestions_orders_empty_state
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 | Введена. |
Где вызывается хук
wc_marketplace_suggestions_orders_empty_state
woocommerce/src/Internal/Admin/Orders/ListTable.php 305
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 34
add_action( 'wc_marketplace_suggestions_orders_empty_state', array( __CLASS__, 'render_orders_list_empty_state' ) );