Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: the_editor_content

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
896      <script type="text/javascript">
897      // <![CDATA[
898           if ( typeof tinyMCE != "undefined" && tinyMCE.configs.length > 0 )
899                document.getElementById("quicktags").style.display="none";
900      // ]]>
901      </script>
902      <?php
903
904      $the_editor = apply_filters('the_editor', "<div><textarea class='mceEditor' $rows cols='40' name='$id' tabindex='2' id='$id'>%s</textarea></div>\n");
905      $the_editor_content = apply_filters('the_editor_content', $content);
906
907      printf($the_editor, $the_editor_content);
908
909      ?>
910      <script type="text/javascript">
911      //<!--
912      edCanvas = document.getElementById('<?php echo $id; ?>');
913      <?php if ( $prev_id && user_can_richedit() ) : ?>
914      // If tinyMCE is defined.