bbp_get_paged_slug

Get the slug used for paginated requests.

Description

(string) bbp_get_paged_slug(); 

Returns (string)


Usage

  1. if ( !function_exists( 'bbp_get_paged_slug' ) ) { 
  2. require_once '/includes/core/functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_get_paged_slug(); 
  7.  

Defined (1)

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

/includes/core/functions.php  
  1. function bbp_get_paged_slug() { 
  2. global $wp_rewrite; 
  3. return $wp_rewrite->pagination_base;