most_liking_users

The bbPress Like Button most liking users shortcode.


Usage

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

Defined (2)

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

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