<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
innocode-digital / wp-prerender-aws-lambda example snippets
`
add_filter( 'innocode_prerender_should_update_post_author', function (
(bool) $should_update,
int $object_id,
$id
) : bool {
// Do not update achive page of author with user id 5.
if ( $id == 5 ) {
return false;
}
return $should_update;
}, 10, 3 );