bp_get_forum_pagination

Return the pagination links for the current topic list.

Description

(string) bp_get_forum_pagination(); 

Returns (string)

HTML pagination links.


Usage

  1. if ( !function_exists( 'bp_get_forum_pagination' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'buddypress/bp-forums/bp-forums-template.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = bp_get_forum_pagination(); 
  7.  

Defined (1)

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

/bp-forums/bp-forums-template.php  
  1. function bp_get_forum_pagination() { 
  2. global $forum_template; 
  3.  
  4. /** 
  5. * Filters the pagination links for the current topic list. 
  6. * @since 1.0.0 
  7. * @param string $pag_links HTML pagination links. 
  8. */ 
  9. return apply_filters( 'bp_get_forum_pagination', $forum_template->pag_links );