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 |
---|---|
952 | <?php } elseif ( 'html' == $wp_default_editor ) { |
953 | add_filter('the_editor_content', 'wp_htmledit_pre'); ?> |
954 | <a id="edButtonHTML" class="active"><?php _e('HTML'); ?></a> |
955 | <a id="edButtonPreview" onclick="switchEditors.go('<?php echo $id; ?>');"><?php _e('Visual'); ?></a> |
956 | <?php } |
957 | } |
958 |
|
959 | if ( $media_buttons ) { ?> |
960 | <div id="media-buttons" class="hide-if-no-js"> |
961 | <?php do_action( 'media_buttons' ); ?> |
962 | </div> |
963 | <?php } ?> |
964 | </div> |
965 |
|
966 | <div id="quicktags"> |
967 | <?php wp_print_scripts( 'quicktags' ); ?> |
968 | <script type="text/javascript">edToolbar()</script> |
969 | </div> |
970 |
|