예제 #1
0
 /**
  * Initialize core functionalities.
  *
  * @return  void
  */
 function init()
 {
     global $Wr_Pb, $Wr_Pb_Widgets;
     // Initialize WR PageBuilder
     $Wr_Pb = new WR_Pb_Core();
     new WR_Pb_Utils_Plugin();
     do_action('wr_pagebuilder_init');
     // Initialize productivity functions
     WR_Pb_Product_Plugin::init();
     // Initialize widget support
     $Wr_Pb_Widgets = !empty($Wr_Pb_Widgets) ? $Wr_Pb_Widgets : WR_Pb_Helper_Functions::widgets();
 }