✘✘ GRAYBYTE WORDPRESS FILE MANAGER ✘✘

​🇳​​🇦​​🇲​​🇪♯➤ server366.web-hosting.com ​🇻​♯➤ 4.18.0-553.50.1.lve.el8.x86_64 #1 SMP 🇾​♯➤ 2025

𝗛𝗢𝗠𝗘 𝗜𝗗 ♯➤ 67.223.118.204 ♯➤ 𝗔𝗗𝗠𝗜𝗡 𝗜𝗗 216.73.216.243
𝗢𝗣𝗧𝗜𝗢𝗡𝗦 ♯ CRL ♯➤ 𝗢𝗞 ┃ WGT ♯➤ 𝗢𝗞 ┃ SDO ♯➤ 𝗢𝗙𝗙 ┃ PKEX ♯➤ 𝗢𝗙𝗙
𝗗𝗘𝗔𝗖𝗧𝗜𝗩𝗔𝗧𝗘𝗗 ♯➤ 𝗔𝗟𝗟 𝗪𝗢𝗥𝗞𝗜𝗡𝗚....

𝗛𝗢𝗠𝗘
𝗖𝗨𝗥𝗥𝗘𝗡𝗧 𝗙𝗜𝗟𝗘 : /home/builxejc/public_html/wp-content/plugins/wordpress-seo/admin/metabox//class-metabox-editor.php
<?php
/**
 * WPSEO plugin file.
 *
 * @package WPSEO\Admin\Metabox
 */

/**
 * Handles all things with the metabox in combination with the WordPress editor.
 */
class WPSEO_Metabox_Editor {

	/**
	 * Registers hooks to WordPress.
	 *
	 * @codeCoverageIgnore
	 *
	 * @return void
	 */
	public function register_hooks() {
		// For the Classic editor.
		add_filter( 'mce_css', [ $this, 'add_css_inside_editor' ] );
		// For the Block/Gutenberg editor.
		// See https://github.com/danielbachhuber/gutenberg-migration-guide/blob/master/filter-mce-css.md.
		add_action( 'enqueue_block_editor_assets', [ $this, 'add_editor_styles' ] );

		add_filter( 'tiny_mce_before_init', [ $this, 'add_custom_element' ] );
	}

	/**
	 * Adds our inside the editor CSS file to the list of CSS files to be loaded inside the editor.
	 *
	 * @param string $css_files The CSS files that WordPress wants to load inside the editor.
	 * @return string The CSS files WordPress wants to load and our CSS file.
	 */
	public function add_css_inside_editor( $css_files ) {
		$asset_manager = new WPSEO_Admin_Asset_Manager();
		$styles        = $asset_manager->special_styles();
		$inside_editor = $styles['inside-editor'];

		$asset_location = new WPSEO_Admin_Asset_SEO_Location( WPSEO_FILE );
		$url            = $asset_location->get_url( $inside_editor, WPSEO_Admin_Asset::TYPE_CSS );

		if ( $css_files === '' ) {
			$css_files = $url;
		}
		else {
			$css_files .= ',' . $url;
		}

		return $css_files;
	}

	/**
	 * Enqueues the CSS to use in the TinyMCE editor.
	 *
	 * @return void
	 */
	public function add_editor_styles() {
		$asset_manager = new WPSEO_Admin_Asset_Manager();
		$asset_manager->enqueue_style( 'inside-editor' );
	}

	/**
	 * Adds a custom element to the tinyMCE editor that we need for marking the content.
	 *
	 * @param array $tinymce_config The tinyMCE config as configured by WordPress.
	 *
	 * @return array The new tinyMCE config with our added custom elements.
	 */
	public function add_custom_element( $tinymce_config ) {
		if ( ! empty( $tinymce_config['custom_elements'] ) ) {
			$custom_elements = $tinymce_config['custom_elements'];

			$custom_elements .= ',~yoastmark';
		}
		else {
			$custom_elements = '~yoastmark';
		}

		$tinymce_config['custom_elements'] = $custom_elements;

		return $tinymce_config;
	}
}


Current_dir [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ] Document_root [ 𝗪𝗥𝗜𝗧𝗘𝗔𝗕𝗟𝗘 ]


[ Back ]
𝗡𝗔𝗠𝗘
𝗦𝗜𝗭𝗘
𝗟𝗔𝗦𝗧 𝗧𝗢𝗨𝗖𝗛
𝗨𝗦𝗘𝗥
𝗦𝗧𝗔𝗧𝗨𝗦
𝗙𝗨𝗡𝗖𝗧𝗜𝗢𝗡𝗦
..
--
9 Jun 2026 8.39 AM
builxejc / builxejc
0755
class-abstract-sectioned-metabox-tab.php
2.257 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox-analysis-inclusive-language.php
1.93 KB
19 Jan 2024 3.31 PM
builxejc / builxejc
0644
class-metabox-analysis-readability.php
0.907 KB
18 Apr 2019 12.44 PM
builxejc / builxejc
0644
class-metabox-analysis-seo.php
0.892 KB
18 Apr 2019 12.44 PM
builxejc / builxejc
0644
class-metabox-collapsible.php
1.518 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox-collapsibles-section.php
1.974 KB
19 Jan 2024 3.31 PM
builxejc / builxejc
0644
class-metabox-editor.php
2.263 KB
19 Jan 2024 3.31 PM
builxejc / builxejc
0644
class-metabox-form-tab.php
2.783 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox-null-tab.php
0.415 KB
18 May 2021 5.42 PM
builxejc / builxejc
0644
class-metabox-section-additional.php
2.571 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox-section-inclusive-language.php
1.203 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox-section-react.php
3.029 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox-section-readability.php
1.169 KB
17 Feb 2026 5.17 PM
builxejc / builxejc
0644
class-metabox.php
39.987 KB
5 May 2026 6.58 PM
builxejc / builxejc
0644
interface-metabox-analysis.php
0.679 KB
18 Apr 2019 12.44 PM
builxejc / builxejc
0644
interface-metabox-section.php
0.354 KB
19 Jan 2024 3.31 PM
builxejc / builxejc
0644
interface-metabox-tab.php
0.339 KB
20 Mar 2018 8.19 PM
builxejc / builxejc
0644

✘✘ GRAYBYTE WORDPRESS FILE MANAGER @ 2026 CONTACT ME ✘✘
Static GIF Static GIF