wpce_before_prerender v3.20
Fires before a document is prerendered. Prerendering is done after saving a document.
Parameters
WPCE\Document $documentThe
Documentbeing rendered.
Example
php
add_action('wpce_before_prerender', function (WPCE\Document $document) {
// ...
});Related
INFO
Since WPCE v3.20, this action replaces the now deprecated wpce_pre_prerender action with the exact same functionality.