wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_privacy_export_expiration › WordPress过滤钩子

Since4.9.6
已弃用n/a
› apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS )
参数:
  • () expiration The expiration age of the export, in seconds.
    Required: Yes
定义在:
文档:

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.




源码

$expiration = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS );