PagesEditor::editor method
Silently add status flag to a Page and save
This action does not update the Page modified date. It updates the status for both the given instantiated Page object and the value in the DB.
Available since version 3.0.146.
Usage
$bool = $pages->editor->addStatus(Page $page, int $status);
Arguments
See Also
$pages->editor methods and properties
API reference based on ProcessWire core version 3.0.252