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 |
---|---|
63 | // you can not edit these at the moment |
64 | $posts_columns['control_view'] = ''; |
65 | $posts_columns['control_edit'] = ''; |
66 | $posts_columns['control_delete'] = ''; |
67 |
|
68 | ?> |
69 |
|
70 | <h2><?php |
71 | if ( is_single() ) { |
72 | printf(__('Comments on %s'), apply_filters( "the_title", $post->post_title)); |
73 | } else { |
74 | if ( $post_listing_pageable && !is_archive() && !is_search() ) |
75 | $h2_noun = is_paged() ? sprintf(__( 'Previous %s' ), $post_status_label) : sprintf(__('Latest %s'), $post_status_label); |
76 | else |
77 | $h2_noun = $post_status_label; |
78 | // Use $_GET instead of is_ since they can override each other |
79 | $h2_author = ''; |
80 | $_GET['author'] = (int) $_GET['author']; |
81 | if ( $_GET['author'] != 0 ) { |