pods_content

Output Pod Page Content.

Description

(string) pods_content( (constant) $return = false, (bool) $pods_page = false ); 

Returns (string)

Parameters (2)

0. $return — Optional. (constant) => false
Whether to return or not (default is to echo)
1. $pods_page — Optional. (bool) => false
The pods page.

Usage

  1. if ( !function_exists( 'pods_content' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/components/Pages.php'; 
  3.  
  4. // Whether to return or not (default is to echo) 
  5. $return = false; 
  6.  
  7. // The pods page. 
  8. $pods_page = false; 
  9.  
  10. // NOTICE! Understand what this does before running. 
  11. $result = pods_content($return, $pods_page); 
  12.  

Defined (1)

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

/components/Pages.php  
  1. function pods_content ( $return = false, $pods_page = false ) { 
  2. return Pods_Pages::content( $return, $pods_page );