wp-content/plugins/fakerpress/inc/class-fp-admin.php
/**
	 * Register and enqueue the WordPress admin UI elements like JavaScript and CSS
	 *
	 * @uses wp_register_style
	 * @uses wp_enqueue_style
	 *
	 * @since 0.1.0
	 *
	 * @return null Actions do not return
	 */
Register and enqueue the WordPress admin UI elements like JavaScript and CSS
@uses wp_register_style
@uses wp_enqueue_style



@return null Actions do not return
Register and enqueue the WordPress admin UI elements like JavaScript and CSS @uses wp_register_style @uses wp_enqueue_style @return null Actions do not return
public function _action_enqueue_ui() {
		wp_register_style( 'fakerpress.icon', Plugin::url( 'ui/css/font.css' ), array(), Plugin::version, 'screen' );
		wp_enqueue_style( 'fakerpress.icon' );
		if ( ! self::$in_plugin ){
			return;
		}
		wp_register_script( 'fakerpress.qs', Plugin::url( 'ui/vendor/qs.js' ), array(), '5.1.0', true );
		wp_register_style( 'fakerpress.select2', Plugin::url( 'ui/vendor/select2/select2.css' ), array(), '3.5.0', 'screen' );
		wp_register_style( 'fakerpress.select2-wordpress', Plugin::url( 'ui/vendor/select2/select2-wordpress.css' ), array( 'fakerpress.select2' ), '3.5.0', 'screen' );
		wp_register_script( 'fakerpress.select2', Plugin::url( 'ui/vendor/select2/select2.min.js' ), array( 'jquery' ), '3.5.0', true );
		wp_register_style( 'fakerpress.jquery-ui', Plugin::url( 'ui/css/jquery-ui.css' ), array(), '1.10.1', 'screen' );
		wp_register_style( 'fakerpress.datepicker', Plugin::url( 'ui/css/datepicker.css' ), array( 'fakerpress.jquery-ui' ), Plugin::version, 'screen' );
		wp_register_style( 'fakerpress.messages', Plugin::url( 'ui/css/messages.css' ), array(), Plugin::version, 'screen' );
		wp_register_style( 'fakerpress.admin', Plugin::url( 'ui/css/admin.css' ), array(), Plugin::version, 'screen' );
		wp_register_script( 'fakerpress.fields', Plugin::url( 'ui/js/fields.js' ), array( 'jquery', 'underscore', 'fakerpress.select2', 'jquery-ui-datepicker' ), Plugin::version, true );
		wp_register_script( 'fakerpress.module', Plugin::url( 'ui/js/module.js' ), array( 'jquery', 'underscore', 'fakerpress.qs' ), Plugin::version, true );
		wp_enqueue_style( 'fakerpress.datepicker' );
		wp_enqueue_style( 'fakerpress.messages' );
		wp_enqueue_style( 'fakerpress.admin' );
		wp_enqueue_style( 'fakerpress.select2-wordpress' );
		wp_enqueue_script( 'fakerpress.fields' );
		wp_enqueue_script( 'fakerpress.module' );
	}
public function _action_enqueue_ui ( ) { wp_register_style ( 'fakerpress.icon' , Plugin :: url ( 'ui/css/font.css' ) , array ( ) , Plugin :: version , 'screen' ) ; wp_enqueue_style ( 'fakerpress.icon' ) ; if ( ! self :: $ in_plugin ) { return ; } wp_register_script ( 'fakerpress.qs' , Plugin :: url ( 'ui/vendor/qs.js' ) , array ( ) , '5.1.0' , true ) ; wp_register_style ( 'fakerpress.select2' , Plugin :: url ( 'ui/vendor/select2/select2.css' ) , array ( ) , '3.5.0' , 'screen' ) ; wp_register_style ( 'fakerpress.select2-wordpress' , Plugin :: url ( 'ui/vendor/select2/select2-wordpress.css' ) , array ( 'fakerpress.select2' ) , '3.5.0' , 'screen' ) ; wp_register_script ( 'fakerpress.select2' , Plugin :: url ( 'ui/vendor/select2/select2.min.js' ) , array ( 'jquery' ) , '3.5.0' , true ) ; wp_register_style ( 'fakerpress.jquery-ui' , Plugin :: url ( 'ui/css/jquery-ui.css' ) , array ( ) , '1.10.1' , 'screen' ) ; wp_register_style ( 'fakerpress.datepicker' , Plugin :: url ( 'ui/css/datepicker.css' ) , array ( 'fakerpress.jquery-ui' ) , Plugin :: version , 'screen' ) ; wp_register_style ( 'fakerpress.messages' , Plugin :: url ( 'ui/css/messages.css' ) , array ( ) , Plugin :: version , 'screen' ) ; wp_register_style ( 'fakerpress.admin' , Plugin :: url ( 'ui/css/admin.css' ) , array ( ) , Plugin :: version , 'screen' ) ; wp_register_script ( 'fakerpress.fields' , Plugin :: url ( 'ui/js/fields.js' ) , array ( 'jquery' , 'underscore' , 'fakerpress.select2' , 'jquery-ui-datepicker' ) , Plugin :: version , true ) ; wp_register_script ( 'fakerpress.module' , Plugin :: url ( 'ui/js/module.js' ) , array ( 'jquery' , 'underscore' , 'fakerpress.qs' ) , Plugin :: version , true ) ; wp_enqueue_style ( 'fakerpress.datepicker' ) ; wp_enqueue_style ( 'fakerpress.messages' ) ; wp_enqueue_style ( 'fakerpress.admin' ) ; wp_enqueue_style ( 'fakerpress.select2-wordpress' ) ; wp_enqueue_script ( 'fakerpress.fields' ) ; wp_enqueue_script ( 'fakerpress.module' ) ; }
Register and enqueue the WordPress admin UI elements like JavaScript and CSS
 @uses wp_register_style
 @uses wp_enqueue_style
Register and enqueue the WordPress admin UI elements like JavaScript and CSS @uses wp_register_style @uses wp_enqueue_style
// Register a global CSS files // Enqueue a global CSS files // Register QS.js // Register Vendor Select2 // Register DatePicker Skins // Register the plugin CSS files // Register the plugin JS files // Enqueue DatePicker Skins // Enqueue plugin CSS // Enqueue Vendor Select2 // Enqueue JS for the plugin