$instance
$instance : mixed
Public static variable to hold the single instance of the class.
Class MainWP_Child_Maintenance
MainWP Maintenance extension handler.
maintenance_db(array $maint_options, integer $max_revisions) : array
Method maintenance_db()
Child site database maintenance.
array | $maint_options | An array containing selected maintenance options. |
integer | $max_revisions | Maximum revisions to keep. |
An array containing action feedback.
maintenance_delete_revisions(array|object $results, integer $max_revisions) : integer
Method maintenance_delete_revisions()
Delete child site post revisions.
array|object | $results | Database query results. |
integer | $max_revisions | Maximum revisions to keep. |
Return number of revisions deleted.