woocommerce_after_account_customer_stock_notifications │ action-hook │ WC 11.2.0

Fires after the back in stock notifications table is rendered on My Account.

Usage

add_action( 'woocommerce_after_account_customer_stock_notifications', 'wp_kama_woocommerce_after_account_customer_stock_notifications_action' );

/**
 * Function for `woocommerce_after_account_customer_stock_notifications` action-hook.
 * 
 * @param bool $has_items Whether there were any notifications rendered.
 *
 * @return void
 */
function wp_kama_woocommerce_after_account_customer_stock_notifications_action( $has_items ){
	// action...
}
$has_items(true|false)
Whether there were any notifications rendered.

Changelog

Since 11.2.0 Introduced.

Where the hook is called

In file: /templates/myaccount/stock-notifications.php
woocommerce_after_account_customer_stock_notifications
woocommerce/templates/myaccount/stock-notifications.php 229
do_action( 'woocommerce_after_account_customer_stock_notifications', $has_items );

Where the hook is used in WooCommerce

Usage not found.