wpce_before_document_load v3.20
Filters the document tree object that is being loaded into a Document instance.
Parameters
object $root_nodeThe document tree object that is loaded.
Example
php
add_filter('wpce_before_document_load', function (object $root_node) {
// ...
return $root_node;
});