/**
  * @hook wp_enqueue_scripts
  */
 public function _wp_enqueue_scripts()
 {
     //to add new library
     HW_Libraries::registers_jquery_libs('visible', array('scripts' => array('jquery.visible.min.js' => array('file' => 'jquery.visible.min.js', 'depends' => array('jquery'), 'required' => true))));
     HW_Libraries::enqueue_jquery_libs('visible');
     HW_Libraries::get('sticky')->enqueue_scripts('jquery.sticky.js');
     //sticky js
 }
 /**
  * constructor
  */
 public function __construct()
 {
     $this->setup_actions();
     //prepare actions
     //register system classes automatically
     /*self::register_class('AdminPageFramework', array(
           'debug' => HW_HOANGWEB_PATH.'/lib/admin-page-framework/development/admin-page-framework.php',
           'release' =>  HW_HOANGWEB_PATH.'/lib/admin-page-framework/admin-page-framework.min.php',
           'class' => 'AdminPageFramework'
       ));*/
     //load apf field type
     self::load_class('HW_APF_FormField');
     //curl
     self::load_class('HW_URL');
     //curl
     self::load_class('HW_CURL');
     //curl
     self::load_class('HW_XML');
     //xml
     self::load_class('HW_SESSION');
     //php session
     self::load_class('HW_Logger');
     //logging system
     self::load_class('HW_File_Directory');
     //logging system
     self::load_class('HW_XMLRPC_Server');
     //xmlrpc api
     //notices class
     HW_HOANGWEB::load_class('HW_WP_NOTICES');
     //admin notice
     //auto load Twig template engine
     //HW_HOANGWEB::register_class('Twig_Loader_Filesystem', HW_HOANGWEB_PATH.'/lib/vendor/autoload.php');
     //validation
     HW_HOANGWEB::load_class('HW_Validation');
     //validation
     HW_HOANGWEB::load_class('HW_CLI_Command');
     //wpcli command class
     if (!is_admin()) {
         self::load_class('HW_Twig_Template');
     }
     //twig template
     //get more field types
     //self::init_fieldtypes();
     //registers jquery libs stuff
     HW_Libraries::registers_jquery_libs();
 }