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