get_current_url

The Pods - Custom Content Types and Fields get current url function.

Description

(mixed|void) get_current_url(); 

Returns (mixed|void)


Usage

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

Defined (1)

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

/deprecated/deprecated.php  
  1. function get_current_url() { 
  2. $url = pods_current_url(); 
  3.  
  4. return apply_filters( 'get_current_url', $url );