You appear to be a bot. Output may be restricted
Description
Registers hooks to WordPress.
Usage
WPSEO_Metabox_Editor::register_hooks();
Parameters
Returns
void
Source
File name: wordpress-seo/admin/metabox/class-metabox-editor.php
Lines:
1 to 10 of 10
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' ] ); }