nf_sub_table_status
This filter is documented in wp-admin/includes/class-wp-posts-list-table.php.
Description
Parameters (2)
- 0. $var (unknown) =>
__( 'Submitted', 'ninja-forms' )
- The var.
- 1. $sub_id (unknown)
- The sub id.
Usage
- To run the hook, copy the example below.
- $var = apply_filters( 'nf_sub_table_status', $var, $sub_id );
- if ( !empty( $var ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the nf_sub_table_status callback
- function filter_nf_sub_table_status( $var, $sub_id ) {
- // make filter magic happen here...
- return $var;
- };
- // add the filter
- add_filter( 'nf_sub_table_status', 'filter_nf_sub_table_status', 10, 2 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'nf_sub_table_status', 'filter_nf_sub_table_status', 10, 2 );
Defined (1)
The filter is defined in the following location(s).
- /deprecated/classes/subs-cpt.php
- echo apply_filters( 'nf_sub_table_status', __( 'Submitted', 'ninja-forms' ), $sub_id );