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 |
---|---|
2026 | * Fires right after all personal data has been written to the export file. |
2027 | * |
2028 | * @since 4.9.6 |
2029 | * |
2030 | * @param string $archive_pathname The full path to the export file on the filesystem. |
2031 | * @param string $archive_url The URL of the archive file. |
2032 | * @param string $html_report_pathname The full path to the personal data report on the filesystem. |
2033 | * @param int $request_id The export request ID. |
2034 | */ |
2035 | do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id ); |
2036 | } |
2037 | } else { |
2038 | $error = __( 'Unable to open export file (archive) for writing.' ); |
2039 | } |
2040 |
|
2041 | // And remove the HTML file. |
2042 | unlink( $html_report_pathname ); |
2043 |
|
2044 | if ( $error ) { |