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