get_pod_page_uri

Get the current Pod Page URI.

Description

(string|bool) get_pod_page_uri(); 

Returns (string|bool)


Usage

  1. if ( !function_exists( 'get_pod_page_uri' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'pods-custom-content-types-and-fields/components/Pages.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_pod_page_uri(); 
  7.  

Defined (1)

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

/components/Pages.php  
  1. function get_pod_page_uri () { 
  2. $pod_page = Pods_Pages::exists(); 
  3.  
  4. if ( !empty( $pod_page ) ) 
  5. return $pod_page[ 'uri' ]; 
  6.  
  7. return false;