woocommerce_customer_stock_notifications_verified
Action: woocommerce_customer_stock_notifications_verified
Fires after a stock-notification signup has been verified via the double opt-in email link. Mirrors woocommerce_customer_stock_notifications_signup.
Использование
add_action( 'woocommerce_customer_stock_notifications_verified', 'wp_kama_woocommerce_customer_stock_notifications_verified_action' );
/**
* Function for `woocommerce_customer_stock_notifications_verified` action-hook.
*
* @param Notification $notification The notification.
*
* @return void
*/
function wp_kama_woocommerce_customer_stock_notifications_verified_action( $notification ){
// action...
}
- $notification(Notification)
- The notification.
Список изменений
| С версии 10.9.0 | Введена. |
Где вызывается хук
woocommerce_customer_stock_notifications_verified
woocommerce/src/Internal/StockNotifications/Emails/EmailActionController.php 163
do_action( 'woocommerce_customer_stock_notifications_verified', $notification );