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 |
|---|---|
| 935 | <?php } elseif ( 'html' == $wp_default_editor ) { |
| 936 | add_filter('the_editor_content', 'wp_htmledit_pre'); ?> |
| 937 | <a id="edButtonHTML" class="active"><?php _e('HTML'); ?></a> |
| 938 | <a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a> |
| 939 | <?php } |
| 940 | } |
| 941 | |
| 942 | if ( $media_buttons ) { ?> |
| 943 | <div id="media-buttons" class="hide-if-no-js"> |
| 944 | <?php do_action( 'media_buttons' ); ?> |
| 945 | </div> |
| 946 | <?php } ?> |
| 947 | </div> |
| 948 | |
| 949 | <div id="quicktags"> |
| 950 | <?php wp_print_scripts( 'quicktags' ); ?> |
| 951 | <script type="text/javascript">edToolbar()</script> |
| 952 | </div> |
| 953 | |