export_wp
Fires at the beginning of an export, before any headers are sent.
Usage
add_action( 'export_wp', 'wp_kama_export_wp_action' ); /** * Function for `export_wp` action-hook. * * @param array $args An array of export arguments. * * @return void */ function wp_kama_export_wp_action( $args ){ // action... }
- $args(array)
- An array of export arguments.
Changelog
Since 2.3.0 | Introduced. |
Where the hook is called
export_wp
wp-admin/includes/export.php 77
do_action( 'export_wp', $args );