most_liked_users

The bbPress Like Button most liked users shortcode.


Usage

  1. // basic usage 
  2. echo do_shortcode('[most_liked_users]'); 
  1. // variable usage 
  2. $result = do_shortcode('[most_liked_users]'); 
  3. echo $result;  

Defined (2)

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

/class.bbpress_like.php  
  1. add_action('wp_ajax_like_this', array($this, 'like_this')); 
  2. add_action('wp_ajax_nopriv_like_this', array($this, 'like_this')); 
  3. add_action('wp_ajax_delete_like', array($this, 'delete_like')); 
  4.  
  5. //Shortcodes 
  6. add_shortcode('most_liked_users', array($this, 'get_most_liked_users_shortcode')); 
  7. add_shortcode('most_liking_users', array($this, 'get_most_liking_users_shortcode')); 
  8. add_shortcode('most_liked_posts', array($this, 'get_most_liked_posts_shortcode')); 
  9.  
  10. //Load text strings 
  11. $this->load_labels(); 
  1. add_action('wp_ajax_like_this', array($this, 'like_this')); 
  2. add_action('wp_ajax_nopriv_like_this', array($this, 'like_this')); 
  3. add_action('wp_ajax_delete_like', array($this, 'delete_like')); 
  4.  
  5. //Shortcodes 
  6. add_shortcode('most_liked_users', array($this, 'get_most_liked_users_shortcode')); 
  7. add_shortcode('most_liking_users', array($this, 'get_most_liking_users_shortcode')); 
  8. add_shortcode('most_liked_posts', array($this, 'get_most_liked_posts_shortcode')); 
  9.  
  10. //Load text strings 
  11. $this->load_labels();