ninja_forms_filter_term_ids_for_name_sub_td

The Ninja Forms ninja forms filter term ids for name sub td function.

Description

ninja_forms_filter_term_ids_for_name_sub_td( $val, $field_id, $sub_id ); 

Parameters (3)

0. $val
The val.
1. $field_id
The field id.
2. $sub_id
The sub id.

Usage

  1. if ( !function_exists( 'ninja_forms_filter_term_ids_for_name_sub_td' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/display/processing/term-name-filter.php'; 
  3.  
  4. // The val. 
  5. $val = null; 
  6.  
  7. // The field id. 
  8. $field_id = null; 
  9.  
  10. // The sub id. 
  11. $sub_id = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = ninja_forms_filter_term_ids_for_name_sub_td($val, $field_id, $sub_id); 
  15.  

Defined (1)

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

/deprecated/includes/display/processing/term-name-filter.php  
  1. function ninja_forms_filter_term_ids_for_name_sub_td( $val, $field_id, $sub_id ) { 
  2. $add_field = apply_filters( 'ninja_forms_use_post_fields', false ); 
  3. if ( !$add_field ) 
  4. return $val; 
  5.  
  6. return ninja_forms_filter_term_ids_for_name( $val, $field_id );