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 |
|---|---|
| 392 | list_meta($metadata); |
| 393 | meta_form(); |
| 394 | ?> |
| 395 | </div> |
| 396 | <p><?php _e('Custom fields can be used to add extra metadata to a post that you can <a href="http://codex.wordpress.org/Using_Custom_Fields" target="_blank">use in your theme</a>.'); ?></p> |
| 397 | <?php |
| 398 | } |
| 399 | add_meta_box('postcustom', __('Custom Fields'), 'post_custom_meta_box', 'post', 'normal', 'core'); |
| 400 | |
| 401 | do_action('dbx_post_advanced'); |
| 402 | |
| 403 | /** |
| 404 | * Display comment status for post form fields. |
| 405 | * |
| 406 | * @since 2.6.0 |
| 407 | * |
| 408 | * @param object $post |
| 409 | */ |
| 410 | function post_comment_status_meta_box($post) { |