ninja_forms_export_subs_to_csv

Ninja_forms_export_subs_to_csv() has been deprecated in favour of Ninja_Forms()->subs()->export( sub_ids, return ); or Ninja_Forms()->sub( 23 )->export( return ); Please replace any instances of this function with the replacement.

Description

ninja_forms_export_subs_to_csv( (string) $sub_ids = '', (bool) $return = false ); 

Parameters (2)

0. $sub_ids — Optional. (string) => ''
The sub ids.
1. $return — Optional. (bool) => false
The return.

Usage

  1. if ( !function_exists( 'ninja_forms_export_subs_to_csv' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/deprecated.php'; 
  3.  
  4. // The sub ids. 
  5. $sub_ids = ''; 
  6.  
  7. // The return. 
  8. $return = false; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = ninja_forms_export_subs_to_csv($sub_ids, $return); 
  12.  

Defined (1)

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

/deprecated/includes/deprecated.php  
  1. function ninja_forms_export_subs_to_csv( $sub_ids = '', $return = false ) { 
  2. Ninja_Forms()->subs()->export( $sub_ids, $return );