wc_mailchimp_casl_subscribed

The WordPress Core wc mailchimp casl subscribed hook.

Description

do_action( 'wc_mailchimp_casl_subscribed', (unknown) $email ); 

Parameters (1)

0. $email (unknown)
The email.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'wc_mailchimp_casl_subscribed', $email ); 
The following example is for adding a hook callback.
  1. // define the wc_mailchimp_casl_subscribed callback 
  2. function action_wc_mailchimp_casl_subscribed( $email ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'wc_mailchimp_casl_subscribed', 'action_wc_mailchimp_casl_subscribed', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'wc_mailchimp_casl_subscribed', 'action_wc_mailchimp_casl_subscribed', 10, 1 ); 

Defined (5)

The action is defined in the following location(s).

/classes/class-mc-casl.php  
  1. do_action( 'wc_mailchimp_casl_subscribed', $email ); 
/woocommerce-mailchimp-casl.php  
  1. do_action( 'wc_mailchimp_casl_subscribed', '' ); 
  1. do_action( 'wc_mailchimp_casl_subscribed', $subscriber_email ); 
  1. do_action( 'wc_mailchimp_casl_subscribed', $subscriber_email ); 
  1. do_action( 'wc_mailchimp_casl_subscribed', $subscriber_email );