(filter)_notification
This action is documented in includes/class-wc-emails.php in the send_transactional_email method.
Usage
add_action( '(filter)_notification', 'wp_kama_filter_notification_action' );
/**
* Function for `(filter)_notification` action-hook.
*
* @param $args
*
* @return void
*/
function wp_kama_filter_notification_action( $args ){
// action...
}
- $args
- -
Where the hook is called
(filter)_notification
woocommerce/includes/class-wc-emails.php 185
do_action_ref_array( $filter . '_notification', $args );
Where the hook is used in WooCommerce
woocommerce/includes/admin/settings/class-wc-settings-emails.php 36
add_action( 'woocommerce_admin_field_email_notification', array( $this, 'email_notification_setting' ) );
woocommerce/includes/class-wc-emails.php 251
add_action( 'woocommerce_low_stock_notification', array( $this, 'low_stock' ) );
woocommerce/includes/class-wc-emails.php 252
add_action( 'woocommerce_no_stock_notification', array( $this, 'no_stock' ) );
woocommerce/includes/class-wc-emails.php 253
add_action( 'woocommerce_product_on_backorder_notification', array( $this, 'backorder' ) );
woocommerce/includes/class-wc-emails.php 254
add_action( 'woocommerce_created_customer_notification', array( $this, 'customer_new_account' ), 10, 3 );
woocommerce/includes/emails/class-wc-email-cancelled-order.php 44
add_action( 'woocommerce_order_status_processing_to_cancelled_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-cancelled-order.php 45
add_action( 'woocommerce_order_status_on-hold_to_cancelled_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-cancelled-order.php 45
add_action( 'woocommerce_order_status_processing_to_cancelled_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-cancelled-order.php 46
add_action( 'woocommerce_order_status_on-hold_to_cancelled_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-completed-order.php 42
add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-failed-order.php 42
add_action( 'woocommerce_order_status_failed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-fulfillment-created.php 50
add_action( 'woocommerce_fulfillment_created_notification', array( $this, 'trigger' ), 10, 3 );
woocommerce/includes/emails/class-wc-email-customer-fulfillment-deleted.php 50
add_action( 'woocommerce_fulfillment_deleted_notification', array( $this, 'trigger' ), 10, 3 );
woocommerce/includes/emails/class-wc-email-customer-fulfillment-updated.php 50
add_action( 'woocommerce_fulfillment_updated_notification', array( $this, 'trigger' ), 10, 3 );
woocommerce/includes/emails/class-wc-email-customer-note.php 49
add_action( 'woocommerce_new_customer_note_notification', array( $this, 'trigger' ) );
woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php 42
add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php 43
add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-on-hold-order.php 44
add_action( 'woocommerce_order_status_cancelled_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-pos-refunded-order.php 488
add_action( 'woocommerce_order_fully_refunded_notification', array( $this, 'trigger_full' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-pos-refunded-order.php 489
add_action( 'woocommerce_order_partially_refunded_notification', array( $this, 'trigger_partial' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-processing-order.php 43
add_action( 'woocommerce_order_status_cancelled_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-processing-order.php 44
add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-processing-order.php 45
add_action( 'woocommerce_order_status_on-hold_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-processing-order.php 46
add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-refunded-order.php 58
add_action( 'woocommerce_order_fully_refunded_notification', array( $this, 'trigger_full' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-refunded-order.php 59
add_action( 'woocommerce_order_partially_refunded_notification', array( $this, 'trigger_partial' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-customer-reset-password.php 71
add_action( 'woocommerce_reset_password_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-failed-order.php 43
add_action( 'woocommerce_order_status_pending_to_failed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-failed-order.php 44
add_action( 'woocommerce_order_status_on-hold_to_failed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 43
add_action( 'woocommerce_order_status_pending_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 44
add_action( 'woocommerce_order_status_pending_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 45
add_action( 'woocommerce_order_status_pending_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 46
add_action( 'woocommerce_order_status_failed_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 47
add_action( 'woocommerce_order_status_failed_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 48
add_action( 'woocommerce_order_status_failed_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 49
add_action( 'woocommerce_order_status_cancelled_to_processing_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 50
add_action( 'woocommerce_order_status_cancelled_to_completed_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/includes/emails/class-wc-email-new-order.php 51
add_action( 'woocommerce_order_status_cancelled_to_on-hold_notification', array( $this, 'trigger' ), 10, 2 );
woocommerce/src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifiedEmail.php 33
add_action( 'woocommerce_email_stock_notification_verified_notification', array( $this, 'trigger' ), 10, 1 );
woocommerce/src/Internal/StockNotifications/Emails/CustomerStockNotificationVerifyEmail.php 34
add_action( 'woocommerce_email_stock_notification_verify_notification', array( $this, 'trigger' ), 10, 1 );