rtmedia_page

Get the page number of media album in the pagination.

Description

(int) rtmedia_page(); 

Returns (int)


Usage

  1. if ( !function_exists( 'rtmedia_page' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'rtmedia-for-wordpress-buddypress-and-bbpress/app/main/controllers/template/rtmedia-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = rtmedia_page(); 
  7.  

Defined (1)

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

/app/main/controllers/template/rtmedia-functions.php  
  1. function rtmedia_page() { 
  2.  
  3. global $rtmedia_query; 
  4.  
  5. return $rtmedia_query->action_query->page; 
  6.