pods_helper

Run a Pods Helper.

Description

pods_helper( (string) $helper_name, (constant) $value = null, (null) $name = null ); 

Parameters (3)

0. $helper_name (string)
The helper name.
1. $value — Optional. (constant) => null
Value to run Helper on
2. $name — Optional. (null) => null
Field name.

Usage

  1. if ( !function_exists( 'pods_helper' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/includes/general.php'; 
  3.  
  4. // The helper name. 
  5. $helper_name = ''; 
  6.  
  7. // Value to run Helper on 
  8. $value = null; 
  9.  
  10. // Field name. 
  11. $name = null; 
  12.  
  13. // NOTICE! Understand what this does before running. 
  14. $result = pods_helper($helper_name, $value, $name); 
  15.  

Defined (1)

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

/includes/general.php  
  1. function pods_helper ( $helper_name, $value = null, $name = null ) { 
  2. returnpods)->helper( $helper_name, $value, $name );