cf_filter_addons_prepare_filter_addons_referer

The Caldera Forms cf filter addons prepare referer function.

Description

cf_filter_addons_prepare_filter_addons_referer( $a, $b ); 

Parameters (2)

0. $a
The a.
1. $b
The b.

Usage

  1. if ( !function_exists( 'cf_filter_addons_prepare_filter_addons_referer' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'caldera-forms/includes/filter_addon_plugins.php'; 
  3.  
  4. // The a. 
  5. $a = null; 
  6.  
  7. // The b. 
  8. $b = null; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = cf_filter_addons_prepare_filter_addons_referer($a, $b); 
  12.  

Defined (1)

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

/includes/filter_addon_plugins.php  
  1. function cf_filter_addons_prepare_filter_addons_referer($a, $b) { 
  2. global $status; 
  3. if( !function_exists('get_current_screen')) { 
  4. return; 
  5. $screen = get_current_screen(); 
  6. if( is_object($screen) && $screen->base === 'plugins' && !empty($_REQUEST['plugin_status']) && $_REQUEST['plugin_status'] === caldera_forms) { 
  7. $status = caldera_forms; 
  8.