bbp_like_button

The bbPress Like Button bbp like button function.

Description

bbp_like_button( (constant) $echo = true ); 

Parameters (1)

0. $echo — Optional. (constant) => true
The echo.

Usage

  1. if ( !function_exists( 'bbp_like_button' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbpress-like-button/bbpress-like.php'; 
  3.  
  4. // The echo. 
  5. $echo = true; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = bbp_like_button($echo); 
  9.  

Defined (2)

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

/bbpress-like.php  
  1. function bbp_like_button($echo = true) { 
  2. global $bbpl; 
  3. $bbpl->bbpl_show_button($echo); 
  1. function bbp_like_button($echo = true) { 
  2. global $bbpl; 
  3. $bbpl->bbpl_show_button($echo);