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 |
---|---|
1512 | <?php } ?> |
1513 | </div> |
1514 | <?php } ?> |
1515 |
|
1516 | <div id="quicktags"> |
1517 | <?php wp_print_scripts( 'quicktags' ); ?> |
1518 | <script type="text/javascript">edToolbar()</script> |
1519 | </div> |
1520 |
|
1521 | <?php $the_editor = apply_filters('the_editor', "<div id='editorcontainer'><textarea $rows cols='40' name='$id' tabindex='$tab_index' id='$id'>%s</textarea></div>\n"); |
1522 | $the_editor_content = apply_filters('the_editor_content', $content); |
1523 |
|
1524 | printf($the_editor, $the_editor_content); |
1525 |
|
1526 | ?> |
1527 | <script type="text/javascript"> |
1528 | // <![CDATA[ |
1529 | edCanvas = document.getElementById('<?php echo $id; ?>'); |
1530 | <?php if ( user_can_richedit() && $prev_id ) { ?> |