pods_evaluate_tag_sanitized

Evaluate tag like magic tag but mapped through pods_v_sanitized.

Description

(string) pods_evaluate_tag_sanitized( (string|array) $tag ); 

Returns (string)

Parameters (1)

0. $tag (string|array)
The tag.

Usage

  1. if ( !function_exists( 'pods_evaluate_tag_sanitized' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/includes/data.php'; 
  3.  
  4. // The tag. 
  5. $tag = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = pods_evaluate_tag_sanitized($tag); 
  9.  

Defined (1)

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

/includes/data.php  
  1. function pods_evaluate_tag_sanitized( $tag ) { 
  2.  
  3. return pods_evaluate_tag( $tag, true ); 
  4.