get_data(); $AllTypes = $this->AllTypes(); $UserRoles = $this->get_user_role(); $Period = $this->get_date_period(); // include js css $ReadedJs = array( 'jquery' , 'jquery-ui-draggable' , 'jquery-ui-droppable' , 'jquery-ui-sortable' , 'thickbox' ); wp_enqueue_script( $this->PageSlug , $this->Url . $this->PluginSlug . '.js', $ReadedJs , $this->Ver ); wp_enqueue_style('thickbox'); // localize $translation = array( 'msg' => array( 'delete_confirm' => __( 'Confirm Deletion' ) , 'bulk_delete_confirm' => __( 'Are you sure you want to bulk action?' , $this->ltd ) ) ); wp_localize_script( $this->PageSlug , $this->ltd , $translation ); if( version_compare( $wp_version , "3.7.2" , '>' ) ) { wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '.css', array() , $this->Ver ); } else { wp_enqueue_style( $this->PageSlug , $this->Url . $this->PluginSlug . '-3.7.css', array() , $this->Ver ); } ?>