hook_settings_super_advanced

The MailPoet Newsletters hook settings super advanced hook.

Description

apply_filters( 'hook_settings_super_advanced', (unknown) $wysija_module, (unknown) $hook_settings_super_advanced_params ); 

Parameters (2)

0. $wysija_module (unknown) => WYSIJA_module::execute_hook('hook_settings_super_advanced', $hook_settings_super_advanced_params)
The wysija module.
1. $hook_settings_super_advanced_params (unknown)
The hook settings super advanced params.

Usage

To run the hook, copy the example below.
  1. $wysija_module = apply_filters( 'hook_settings_super_advanced', $wysija_module, $hook_settings_super_advanced_params ); 
  2.  
  3. if ( !empty( $wysija_module ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the hook_settings_super_advanced callback 
  2. function filter_hook_settings_super_advanced( $wysija_module, $hook_settings_super_advanced_params ) { 
  3. // make filter magic happen here... 
  4. return $wysija_module
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'hook_settings_super_advanced', 'filter_hook_settings_super_advanced', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'hook_settings_super_advanced', 'filter_hook_settings_super_advanced', 10, 2 ); 

Defined (2)

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

/controllers/back/config.php  
  1. $this->data['hooks']['hook_settings_super_advanced'] = apply_filters('hook_settings_super_advanced', WYSIJA_module::execute_hook('hook_settings_super_advanced', $hook_settings_super_advanced_params), $hook_settings_super_advanced_params); 
  1. $this->data['hooks']['hook_settings_super_advanced'] = apply_filters('hook_settings_super_advanced', WYSIJA_module::execute_hook('hook_settings_super_advanced', $hook_settings_super_advanced_params), $hook_settings_super_advanced_params);