wc_marketplace_suggestions_orders_empty_state
Renders after the 'blank state' message for the order list table has rendered.
Usage
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...
}Changelog
| Since 6.6.1 | Introduced. |
Where the hook is called
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
Where the hook is used in 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' ) );