Audit Log logging mode is set to "Significant Events", all events except content changes will be recorded. "All Events" will include content-related events and may be used to monitor for unauthorized post or page changes. "Preview" and "Disabled" modes do not send any events to Central.', 'wordfence'), array('strong'=>array())); ?>
true,
'restoreDefaultsSection' => wfConfig::OPTIONS_TYPE_AUDIT_LOG,
'restoreDefaultsMessage' => __('Are you sure you want to restore the default Audit Log settings? This will undo any custom changes you have made to the options on this page.', 'wordfence'),
))->render();
?>
-
'auditLogMode',
'value' => wfAuditLog::shared()->mode(),
'title' => __('Audit Log logging mode', 'wordfence'),
'states' => array(
array('value' => wfAuditLog::AUDIT_LOG_MODE_DISABLED, 'label' => __('Disabled', 'wordfence')),
array('value' => wfAuditLog::AUDIT_LOG_MODE_PREVIEW, 'label' => __('Preview', 'wordfence'), 'disabled' => $wpTooOld),
array('value' => wfAuditLog::AUDIT_LOG_MODE_SIGNIFICANT, 'labelHTML' => wp_kses(__('Significant Events', 'wordfence'),array('span' => array('class' => array('wf-hidden-xs')))), 'disabled' => $wpTooOld),
array('value' => wfAuditLog::AUDIT_LOG_MODE_ALL, 'labelHTML' => wp_kses(__('All Events', 'wordfence'),array('span' => array('class' => array('wf-hidden-xs')))), 'disabled' => $wpTooOld),
),
'helpLink' => wfSupportController::supportURL(wfSupportController::ITEM_TOOLS_AUDIT_LOG_OPTION_MODE),
'alignment' => 'wf-right',
'noSpacer' => true,
))->render();
?>
-
'displayTopLevelAuditLog',
'enabledValue' => 1,
'disabledValue' => 0,
'value' => wfConfig::get('displayTopLevelAuditLog') ? 1 : 0,
'title' => __('Display Audit Log menu option', 'wordfence'),
))->render();
?>