Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: print_default_editor_scripts

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
898                self::print_tinymce_scripts();
899           }
900
901           /**
902            * Fires when the editor scripts are loaded for later initialization,
903            * after all scripts and settings are printed.
904            *
905            * @since 4.8.0
906            */
907           do_action( 'print_default_editor_scripts' );
908
909           self::wp_link_dialog();
910      }
911
912      public static function get_mce_locale() {
913           if ( empty( self::$mce_locale ) ) {
914                $mce_locale = get_user_locale();
915                self::$mce_locale = empty( $mce_locale ) ? 'en' : strtolower( substr( $mce_locale, 0, 2 ) ); // ISO 639-1
916           }