reduxDashboardWidget

The evolve reduxDashboardWidget class.

Defined (1)

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

/library/admin/redux-framework/core/dashboard.php  
  1. class reduxDashboardWidget { 
  2.  
  3. public function __construct ($parent) { 
  4. $fname = Redux_Functions::dat( 'add_redux_dashboard', $parent->args['opt_name'] ); 
  5.  
  6. add_action('wp_dashboard_setup', array($this, $fname)); 
  7.  
  8. public function add_redux_dashboard() { 
  9. add_meta_box('redux_dashboard_widget', 'Redux Framework News', array($this, 'redux_dashboard_widget'), 'dashboard', 'side', 'high'); 
  10.  
  11. public function dat() { 
  12. return; 
  13.  
  14. public function redux_dashboard_widget() { 
  15. echo '<div class="rss-widget">'; 
  16. wp_widget_rss_output(array( 
  17. 'url' => 'http://reduxframework.com/feed/',  
  18. 'title' => 'REDUX_NEWS',  
  19. 'items' => 3,  
  20. 'show_summary' => 1,  
  21. 'show_author' => 0,  
  22. 'show_date' => 1 
  23. )); 
  24. echo '</div>';