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 |
---|---|
88 | 'posts_per_page' => -1, 'posts_per_archive_page' => -1, 'order' => 'asc'); |
89 |
|
90 | $post_status_label = __('Pages'); |
91 | if ( isset($_GET['post_status']) && in_array( $_GET['post_status'], array_keys($post_stati) ) ) { |
92 | $post_status_label = $post_stati[$_GET['post_status']][1]; |
93 | $query['post_status'] = $_GET['post_status']; |
94 | $query['perm'] = 'readable'; |
95 | } |
96 |
|
97 | $query = apply_filters('manage_pages_query', $query); |
98 | wp($query); |
99 |
|
100 | if ( is_singular() ) { |
101 | wp_enqueue_script( 'admin-comments' ); |
102 | enqueue_comment_hotkeys_js(); |
103 | } |
104 |
|
105 | require_once('admin-header.php'); ?> |
106 |
|