public function _admin_enqueue_scripts() {
		do_action( 'inc2734_wp_awesome_widgets_before_admin_enqueue_scripts' );

		if ( ! did_action( 'wp_enqueue_media' ) ) {
			wp_enqueue_media();
		}

		$relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/admin-css/wp-awesome-widgets-admin.min.css';
		wp_enqueue_style(
			'wp-awesome-widgets-admin',
			get_template_directory_uri() . $relative_path,
			[],
			filemtime( get_template_directory() . $relative_path )
		);

		$relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/admin-js/wp-awesome-widgets-admin.min.js';
		wp_enqueue_script(
			'wp-awesome-widgets-admin',
			get_template_directory_uri() . $relative_path,
			[ 'jquery', 'jquery-ui-sortable', 'wp-color-picker' ],
			filemtime( get_template_directory() . $relative_path ),
			true
		);

		wp_localize_script(
			'wp-awesome-widgets-admin',
			'wp_awesome_widgets_item_selector_wp_api',
			[
				'root' => esc_url_raw( rest_url() ),
			]
		);

		wp_enqueue_style( 'wp-color-picker' );

		do_action( 'inc2734_wp_awesome_widgets_after_admin_enqueue_scripts' );
	}
public function _admin_enqueue_scripts() {
		do_action( 'inc2734_wp_awesome_widgets_before_admin_enqueue_scripts' );

		if ( ! did_action( 'wp_enqueue_media' ) ) {
			wp_enqueue_media();
		}

		$relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/admin-css/wp-awesome-widgets-admin.min.css';
		wp_enqueue_style(
			'wp-awesome-widgets-admin',
			get_template_directory_uri() . $relative_path,
			[],
			filemtime( get_template_directory() . $relative_path )
		);

		$relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/admin-js/wp-awesome-widgets-admin.min.js';
		wp_enqueue_script(
			'wp-awesome-widgets-admin',
			get_template_directory_uri() . $relative_path,
			[ 'jquery', 'jquery-ui-sortable', 'wp-color-picker' ],
			filemtime( get_template_directory() . $relative_path ),
			true
		);

		wp_localize_script(
			'wp-awesome-widgets-admin',
			'wp_awesome_widgets_item_selector_wp_api',
			[
				'root' => esc_url_raw( rest_url() ),
			]
		);

		wp_enqueue_style( 'wp-color-picker' );

		do_action( 'inc2734_wp_awesome_widgets_after_admin_enqueue_scripts' );
	}
public function _admin_enqueue_scripts ( ) { do_action ( 'inc2734_wp_awesome_widgets_before_admin_enqueue_scripts' ) ; if ( ! did_action ( 'wp_enqueue_media' ) ) { wp_enqueue_media ( ) ; } $ relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/admin-css/wp-awesome-widgets-admin.min.css' ; wp_enqueue_style ( 'wp-awesome-widgets-admin' , get_template_directory_uri ( ) . $ relative_path , [ ] , filemtime ( get_template_directory ( ) . $ relative_path ) ) ; $ relative_path = '/vendor/inc2734/wp-awesome-widgets/src/assets/admin-js/wp-awesome-widgets-admin.min.js' ; wp_enqueue_script ( 'wp-awesome-widgets-admin' , get_template_directory_uri ( ) . $ relative_path , [ 'jquery' , 'jquery-ui-sortable' , 'wp-color-picker' ] , filemtime ( get_template_directory ( ) . $ relative_path ) , true ) ; wp_localize_script ( 'wp-awesome-widgets-admin' , 'wp_awesome_widgets_item_selector_wp_api' , [ 'root' => esc_url_raw ( rest_url ( ) ) , ] ) ; wp_enqueue_style ( 'wp-color-picker' ) ; do_action ( 'inc2734_wp_awesome_widgets_after_admin_enqueue_scripts' ) ; }
Enqueue assets for admin

@return void
Enqueue assets for admin