• File: class--wp-editors.php
  • Full Path: /home/matthif/www/wp-content/plugins/gutenberg/lib/experimental/class--wp-editors.php
  • Date Modified: 01/24/2025 1:57 PM
  • File size: 600 bytes
  • MIME-type: text/x-php
  • Charset: utf-8
<?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() {}
    }
}