ninja_forms_credit_card_field_desc_pos

The Ninja Forms ninja forms credit card field desc pos hook.

Description

apply_filters( 'ninja_forms_credit_card_field_desc_pos', (string) $after_label ); 

Parameters (1)

0. $after_label (string) => 'after_label'
The after label.

Usage

To run the hook, copy the example below.
  1. $after_label = apply_filters( 'ninja_forms_credit_card_field_desc_pos', $after_label ); 
  2.  
  3. if ( !empty( $after_label ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the ninja_forms_credit_card_field_desc_pos callback 
  2. function filter_ninja_forms_credit_card_field_desc_pos( $after_label ) { 
  3. // make filter magic happen here... 
  4. return $after_label
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'ninja_forms_credit_card_field_desc_pos', 'filter_ninja_forms_credit_card_field_desc_pos', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'ninja_forms_credit_card_field_desc_pos', 'filter_ninja_forms_credit_card_field_desc_pos', 10, 1 ); 

Defined (1)

The filter is defined in the following location(s).

/deprecated/includes/fields/credit-card.php  
  1. $desc_pos = apply_filters( 'ninja_forms_credit_card_field_desc_pos', 'after_label' );