MS_Controller_Widget

Controller for Membership widgets.

Defined (1)

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

/app/controller/class-ms-controller-widget.php  
  1. class MS_Controller_Widget extends MS_Controller { 
  2.  
  3. /** 
  4. * Register available widgets. 
  5. * @since 1.0.0 
  6. */ 
  7. public function __construct() { 
  8. parent::__construct(); 
  9.  
  10. // Load the add-on manager model. 
  11. $this->add_action( 
  12. 'widgets_init',  
  13. 'register_widgets' 
  14. ); 
  15.  
  16. /** 
  17. * Register available widgets. 
  18. * @since 1.0.0 
  19. */ 
  20. public function register_widgets() { 
  21. register_widget( 'MS_Widget_Login' ); 
  22.