bbpress_lmt_text_nomoretopics

The bbPress load more topics bbpress lmt text nomoretopics hook.

Description

apply_filters( 'bbpress_lmt_text_nomoretopics', (string) $no_more_posts ); 

Parameters (1)

0. $no_more_posts (string) => 'No more posts..'
The no more posts.

Usage

To run the hook, copy the example below.
  1. $no_more_posts = apply_filters( 'bbpress_lmt_text_nomoretopics', $no_more_posts ); 
  2.  
  3. if ( !empty( $no_more_posts ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the bbpress_lmt_text_nomoretopics callback 
  2. function filter_bbpress_lmt_text_nomoretopics( $no_more_posts ) { 
  3. // make filter magic happen here... 
  4. return $no_more_posts
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'bbpress_lmt_text_nomoretopics', 'filter_bbpress_lmt_text_nomoretopics', 10, 1 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'bbpress_lmt_text_nomoretopics', 'filter_bbpress_lmt_text_nomoretopics', 10, 1 ); 

Defined (1)

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

/index.php  
  1. 'text_nomoretopics' => apply_filters( 'bbpress_lmt_text_nomoretopics', 'No more posts..' ),