ninja_forms_labels/timed_submit_error
The Ninja Forms ninja forms labels timed submit error hook.
Description
Parameters (1)
- 0. $settings_timed_submit_error (unknown)
- The settings timed submit
error
.
Usage
- To run the hook, copy the example below.
- $settings_timed_submit_error = apply_filters( 'ninja_forms_labels/timed_submit_error', $settings_timed_submit_error );
- if ( !empty( $settings_timed_submit_error ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the ninja_forms_labels/timed_submit_error callback
- function filter_ninja_forms_labels_timed_submit_error( $settings_timed_submit_error ) {
- // make filter magic happen here...
- return $settings_timed_submit_error;
- };
- // add the filter
- add_filter( 'ninja_forms_labels/timed_submit_error', 'filter_ninja_forms_labels_timed_submit_error', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'ninja_forms_labels/timed_submit_error', 'filter_ninja_forms_labels_timed_submit_error', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /deprecated/ninja-forms.php
- $settings['timed_submit_error'] = apply_filters( 'ninja_forms_labels/timed_submit_error' , $settings['timed_submit_error'] );