nf_clear_admin_mailto

The Ninja Forms nf clear admin mailto function.

Description

nf_clear_admin_mailto(); 

Usage

  1. if ( !function_exists( 'nf_clear_admin_mailto' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/deprecated.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = nf_clear_admin_mailto(); 
  7.  

Defined (1)

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

/deprecated/includes/deprecated.php  
  1. function nf_clear_admin_mailto() { 
  2. global $ninja_forms_processing; 
  3.  
  4. $ninja_forms_processing->update_form_setting( 'admin_mailto', array() );