epm_hook_callback

Hook Callback.

Description

epm_hook_callback( (array) $args ); 

Adds a do_action() hook in place of the field

Parameters (1)

0. $args (array)
Arguments passed by the setting

Usage

  1. if ( !function_exists( 'epm_hook_callback' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'easy-peasy-mailchimp-ajax-form/includes/admin/settings/register-settings.php'; 
  3.  
  4. // Arguments passed by the setting 
  5. $args = array(); 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = epm_hook_callback($args); 
  9.  

Defined (1)

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

/includes/admin/settings/register-settings.php  
  1. function epm_hook_callback( $args ) { 
  2. do_action( 'epm_' . $args['id'] );