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
879
880           self::print_tinymce_scripts();
881
882           /**
883            * Fires when the editor scripts are loaded for later initialization,
884            * after all scripts and settings are printed.
885            *
886            * @since 4.8.0
887            */
888           do_action( 'print_default_editor_scripts' );
889
890           self::wp_link_dialog();
891      }
892
893      public static function get_mce_locale() {
894           if ( empty( self::$mce_locale ) ) {
895                $mce_locale = get_user_locale();
896                self::$mce_locale = empty( $mce_locale ) ? 'en' : strtolower( substr( $mce_locale, 0, 2 ) ); // ISO 639-1
897           }