bblmt_button_text

Use filter to change Button text.

Description

apply_filters( 'bblmt_button_text', (string) $load_more ); 

Parameters (1)

0. $load_more (string) => "Load More"
The load more.

Usage

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

Defined (1)

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

/index.php  
  1. $button_text = apply_filters( "bblmt_button_text", "Load More" );