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 | $args['end_date'] = $_GET['page_end_date']; |
| 89 | } |
| 90 | |
| 91 | if ( $_GET['page_status'] ) |
| 92 | $args['status'] = $_GET['page_status']; |
| 93 | } else { |
| 94 | $args['content'] = $_GET['content']; |
| 95 | } |
| 96 | |
| 97 | $args = apply_filters( 'export_args', $args ); |
| 98 | |
| 99 | export_wp( $args ); |
| 100 | die(); |
| 101 | } |
| 102 | |
| 103 | require_once ('admin-header.php'); |
| 104 | |
| 105 | function export_date_options( $post_type = 'post' ) { |
| 106 | global $wpdb, $wp_locale; |