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 |
---|---|
1665 | $class = " class='theEditor'"; |
1666 | add_filter('the_editor_content', 'wp_richedit_pre'); ?> |
1667 | <a id="edButtonHTML" class="hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a> |
1668 | <a id="edButtonPreview" class="active hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a> |
1669 | <?php } |
1670 | } |
1671 |
|
1672 | if ( $media_buttons ) { ?> |
1673 | <div id="media-buttons" class="hide-if-no-js"> |
1674 | <?php do_action( 'media_buttons' ); ?> |
1675 | </div> |
1676 | <?php |
1677 | } ?> |
1678 | </div> |
1679 | <?php |
1680 | } |
1681 | ?> |
1682 | <div id="quicktags"><?php |
1683 | wp_print_scripts( 'quicktags' ); ?> |