function add_last_modified_header($headers) { header("Last-Modified: " . get_the_modified_time("D, d M Y H:i:s")); }