ss_wc_mailchimp_log_error

Add a notice to be displayed in the admin.

Description

do_action( 'ss_wc_mailchimp_log_error', (string) $sswcmc_admin_add_notice_notice_not_set, (unknown) $notice ); 

Parameters (2)

0. $sswcmc_admin_add_notice_notice_not_set (string) => 'SSWCMC_Admin[add_notice] Notice not set'
The sswcmc admin add notice notice not set.
1. $notice (unknown)
The notice.

Usage

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

Defined (1)

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

/includes/class-ss-wc-mailchimp-admin-notices.php  
  1. do_action( 'ss_wc_mailchimp_log_error', 'SSWCMC_Admin[add_notice] Notice not set', $notice );