wphooks.info - export_wp

export_wp

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/export.php:
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
	);
	$args = wp_parse_args( $args, $defaults );

	/**
	 * Fires at the beginning of an export, before any headers are sent.
	 *
	 * @since 2.3.0
	 *
	 * @param array $args An array of export arguments.
	 */
	do_action( 'export_wp', $args );

	$sitename = sanitize_key( get_bloginfo( 'name' ) );
	if ( ! empty( $sitename ) ) {
		$sitename .= '.';
	}
	$date = date( 'Y-m-d' );
	$wp_filename = $sitename . 'wordpress.' . $date . '.xml';
	/**
	 * Filters the export filename.