ninja_forms_filter_term_ids_for_name_sub_td
The Ninja Forms ninja forms filter term ids for name sub td function.
Description
Parameters (3)
- 0. $val
- The val.
- 1. $field_id
- The field id.
- 2. $sub_id
- The sub id.
Usage
if ( !function_exists( 'ninja_forms_filter_term_ids_for_name_sub_td' ) ) { require_once ABSPATH . PLUGINDIR . 'ninja-forms/deprecated/includes/display/processing/term-name-filter.php'; } // The val. $val = null; // The field id. $field_id = null; // The sub id. $sub_id = null; // NOTICE! Understand what this does before running. $result = ninja_forms_filter_term_ids_for_name_sub_td($val, $field_id, $sub_id);
Defined (1)
The function is defined in the following location(s).
- /deprecated/includes/display/processing/term-name-filter.php
- function ninja_forms_filter_term_ids_for_name_sub_td( $val, $field_id, $sub_id ) {
- $add_field = apply_filters( 'ninja_forms_use_post_fields', false );
- if ( !$add_field )
- return $val;
- return ninja_forms_filter_term_ids_for_name( $val, $field_id );
- }