register_last_post_widget

The bbP last post register last post widget function.

Description

register_last_post_widget(); 

Usage

  1. if ( !function_exists( 'register_last_post_widget' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'bbp-last-post/includes/lp-widgets.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = register_last_post_widget(); 
  7.  

Defined (1)

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

/includes/lp-widgets.php  
  1. function register_last_post_widget() { 
  2. register_widget('Last_Post_Replies_Widget'); 
  3.