nf_subs_table_qv
The Ninja Forms nf subs table qv hook.
Description
Parameters (2)
- 0. $qv (unknown)
- The qv.
- 1. $form_id (unknown)
- The form id.
Usage
- To run the hook, copy the example below.
- $qv = apply_filters( 'nf_subs_table_qv', $qv, $form_id );
- if ( !empty( $qv ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the nf_subs_table_qv callback
- function filter_nf_subs_table_qv( $qv, $form_id ) {
- // make filter magic happen here...
- return $qv;
- };
- // add the filter
- add_filter( 'nf_subs_table_qv', 'filter_nf_subs_table_qv', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'nf_subs_table_qv', 'filter_nf_subs_table_qv', 10, 2 );
Defined (1)
The filter is defined in the following location(s).
- /deprecated/classes/subs-cpt.php
- $qv = apply_filters( 'nf_subs_table_qv', $qv, $form_id );