ninja_forms_enable_credit_card_fields
The Ninja Forms ninja forms enable credit card fields hook.
Description
Parameters (1)
- 0. $false (bool) =>
false
- The false.
Usage
- To run the hook, copy the example below.
- $false = apply_filters( 'ninja_forms_enable_credit_card_fields', $false );
- if ( !empty( $false ) ) {
- // everything has led up to this point...
- }
- The following example is for adding a hook callback.
- // define the ninja_forms_enable_credit_card_fields callback
- function filter_ninja_forms_enable_credit_card_fields( $false ) {
- // make filter magic happen here...
- return $false;
- };
- // add the filter
- add_filter( 'ninja_forms_enable_credit_card_fields', 'filter_ninja_forms_enable_credit_card_fields', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the filter
- remove_filter( 'ninja_forms_enable_credit_card_fields', 'filter_ninja_forms_enable_credit_card_fields', 10, 1 );
Defined (1)
The filter is defined in the following location(s).
- /ninja-forms.php
- if( ! apply_filters( 'ninja_forms_enable_credit_card_fields', false ) ) {