nf_deprecate_success_message_filter

The Ninja Forms nf deprecate success message filter function.

Description

nf_deprecate_success_message_filter( $message, $n_id ); 

Parameters (2)

0. $message
The message.
1. $n_id
The id.

Usage

  1. if ( !function_exists( 'nf_deprecate_success_message_filter' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/deprecated.php'; 
  3.  
  4. // The message. 
  5. $message = null; 
  6.  
  7. // The id. 
  8. $n_id = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = nf_deprecate_success_message_filter($message, $n_id); 
  12.  

Defined (1)

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

/deprecated/includes/deprecated.php  
  1. function nf_deprecate_success_message_filter( $message, $n_id ) { 
  2. return apply_filters( 'ninja_forms_success_msg', $message );