WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_privacy_export_expiration

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-admin/includes/privacy-tools.php apply_filters 606 /**
* Send an email to the user with a link to the personal data export file
*
* @since 4.9.6
*
* @param int $request_id The request ID for this personal data export.
* @return true|WP_Error True on success or `WP_Error` on failure.
*/
wp-includes/functions.php apply_filters 7926 /**
* Filters the lifetime, in seconds, of a personal data export file.
*
* By default, the lifetime is 3 days. Once the file reaches that age, it will automatically
* be deleted by a cron job.
*
* @since 4.9.6
*
* @param int $expiration The expiration age of the export, in seconds.
*/

Hook Parameters

Parameter Type Name Description
int $expiration The expiration age of the export, in seconds.