bbp_get_forum_pagination_links

Return pagination links.

Description

(string) bbp_get_forum_pagination_links(); 

Returns (string)

Pagination links


Usage

  1. if ( !function_exists( 'bbp_get_forum_pagination_links' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress/includes/topics/template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bbp_get_forum_pagination_links(); 
  7.  

Defined (1)

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

/includes/topics/template.php  
  1. function bbp_get_forum_pagination_links() { 
  2. $bbp =bbpress); 
  3.  
  4. if ( empty( $bbp->topic_query ) ) 
  5. return false; 
  6.  
  7. return apply_filters( 'bbp_get_forum_pagination_links', $bbp->topic_query->pagination_links );