WP hooks navigation: Home/browse • Actions index • Filters index
To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).
The best way to understand what a hook does is to look at where it occurs in the source code.
do_action( "hook_name" )
apply_filters( "hook_name", "what_to_filter" )
.Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.
Line | Code |
---|---|
884 | myField.value += myValue; |
885 | myField.focus(); |
886 | } |
887 | } |
888 | // ]]> |
889 | </script> |
890 | <?php |
891 |
|
892 | $the_editor = apply_filters('the_editor', "<div><textarea class='mceEditor' $rows cols='40' name='$id' tabindex='2' id='$id'>%s</textarea></div>\n"); |
893 | $the_editor_content = apply_filters('the_editor_content', $content); |
894 |
|
895 | printf($the_editor, $the_editor_content); |
896 |
|
897 | ?> |
898 | <script type="text/javascript"> |
899 | //<!-- |
900 | edCanvas = document.getElementById('<?php echo $id; ?>'); |
901 | <?php if ( $prev_id && user_can_richedit() ) : ?> |
902 | // This code is meant to allow tabbing from Title to Post (TinyMCE). |