nf_old_save_sub_action

The Ninja Forms nf old save sub action function.

Description

nf_old_save_sub_action( $sub_id ); 

Parameters (1)

0. $sub_id
The sub id.

Usage

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

Defined (1)

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

/deprecated/includes/deprecated.php  
  1. function nf_old_save_sub_action( $sub_id ) { 
  2. do_action( 'ninja_forms_insert_sub', $sub_id );