amp_validation_data_gc_before

apply_filters( 'amp_validation_data_gc_before',  string|array $before )

Description #

Filters the date before which validated URLs will be garbage collected.


Parameters #

$before

(string|array) Date before which to find amp_validated_url posts to delete. Default '1 week ago'. Accepts strtotime()-compatible string, or array of 'year', 'month', 'day' values.



Changelog #

Changelog
Version Description
2.2 Introduced.