# gutenberg/22.3.0/lib/experimental/class--wp-editors.php

Gutenberg, version 22.3.0. 31 lines.

- Page: https://pluginprobe.com/plugins/gutenberg/22.3.0/code/lib/experimental/class--wp-editors.php
- Raw: https://pluginprobe.com/plugins/gutenberg/22.3.0/raw/lib/experimental/class--wp-editors.php
- Modified: 2024-01-31T23:08:20+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gutenberg/22.3.0/code/lib/experimental/class--wp-editors.php#L10-L20`.

```php
<?php
/**
 * Contains the placeholder class to replace the default `_WP_Editors`.
 *
 * @package gutenberg
 * @since 6.3.0
 */

// phpcs:disable PEAR.NamingConventions.ValidClassName.StartWithCapital

if ( ! class_exists( '_WP_Editors' ) ) {

	/**
	 * Placeholder class.
	 * Used to disable loading of TinyMCE assets.
	 *
	 * @access public
	 */
	final class _WP_Editors {
		/**
		 * Necessary to ensure no additional TinyMCE assets are enqueued.
		 */
		public static function enqueue_default_editor() {}

		/**
		 * Necessary for wp admin dashboard.
		 */
		public static function editor() {}
	}
}

```
