public function _enqueue_assets() {
		$icon_picker = Icon_Picker::instance();

		wp_localize_script(
			'icon-picker',
			'iconPicker',
			array(
				'types' => $icon_picker->registry->get_types_for_js(),
			)
		);

		// Some pages don't call this by default, so let's make sure.
		wp_enqueue_media();

		foreach ( $this->script_ids as $script_id ) {
			wp_enqueue_script( $script_id );
		}

		foreach ( $this->style_ids as $style_id ) {
			wp_enqueue_style( $style_id );
		}

		/**
		 * Fires when admin functionality is loaded
		 *
		 * @since 0.1.0
		 * @param Icon_Picker $icon_picker Icon_Picker instance.
		 */
		do_action( 'icon_picker_admin_loaded', $icon_picker );
	}
public function _enqueue_assets() {
		$icon_picker = Icon_Picker::instance();

		wp_localize_script(
			'icon-picker',
			'iconPicker',
			array(
				'types' => $icon_picker->registry->get_types_for_js(),
			)
		);

		// Some pages don't call this by default, so let's make sure.
		wp_enqueue_media();

		foreach ( $this->script_ids as $script_id ) {
			wp_enqueue_script( $script_id );
		}

		foreach ( $this->style_ids as $style_id ) {
			wp_enqueue_style( $style_id );
		}

		/**
		 * Fires when admin functionality is loaded
		 *
		 * @since 0.1.0
		 * @param Icon_Picker $icon_picker Icon_Picker instance.
		 */
		do_action( 'icon_picker_admin_loaded', $icon_picker );
	}
public function _enqueue_assets ( ) { $ icon_picker = Icon_Picker :: instance ( ) ; wp_localize_script ( 'icon-picker' , 'iconPicker' , array ( 'types' => $ icon_picker -> registry -> get_types_for_js ( ) , ) ) ; // Some pages don't call this by default, so let's make sure. wp_enqueue_media ( ) ; foreach ( $ this -> script_ids as $ script_id ) { wp_enqueue_script ( $ script_id ) ; } foreach ( $ this -> style_ids as $ style_id ) { wp_enqueue_style ( $ style_id ) ; } /**
		 * Fires when admin functionality is loaded
		 *
		 * @since 0.1.0
		 * @param Icon_Picker $icon_picker Icon_Picker instance.
		 */ do_action ( 'icon_picker_admin_loaded' , $ icon_picker ) ; }
Enqueue scripts & styles

@since   0.1.0
@wp_hook action admin_enqueue_scripts
@return  void
Enqueue scripts & styles