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 |
|---|---|
| 1799 | $class = " class='theEditor'"; |
| 1800 | add_filter('the_editor_content', 'wp_richedit_pre'); ?> |
| 1801 | <a id="edButtonHTML" class="hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'html');"><?php _e('HTML'); ?></a> |
| 1802 | <a id="edButtonPreview" class="active hide-if-no-js" onclick="switchEditors.go('<?php echo $id; ?>', 'tinymce');"><?php _e('Visual'); ?></a> |
| 1803 | <?php } |
| 1804 | } |
| 1805 | |
| 1806 | if ( $media_buttons ) { ?> |
| 1807 | <div id="media-buttons" class="hide-if-no-js"> |
| 1808 | <?php do_action( 'media_buttons' ); ?> |
| 1809 | </div> |
| 1810 | <?php |
| 1811 | } ?> |
| 1812 | </div> |
| 1813 | <?php |
| 1814 | } |
| 1815 | ?> |
| 1816 | <div id="quicktags"><?php |
| 1817 | wp_print_scripts( 'quicktags' ); ?> |