caldera_magic_tag-<null>

The Metaplate caldera magic tag null hook.

Description

apply_filters( 'caldera_magic_tag-<null>', (unknown) $params_1 ); 

Parameters (1)

0. $params_1 (unknown)
The params 1.

Usage

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

Defined (1)

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

/vendor/calderawp/magic-tags/src/magictag.php  
  1. $filter_value = apply_filters( 'caldera_magic_tag', apply_filters( "caldera_magic_tag-{$params[0]}", $params[1] ) , $magics[0][$magic_key]);