self::get_module_name(), 'storage_days' => esc_html__( 'Storage for', 'defender-security' ), ); } /** * Checks if the audit logging is active. * * @return bool Returns true if the audit logging is active, false otherwise. * @since 2.6.5 */ public function is_active(): bool { $enabled = apply_filters( 'wd_audit_enable', $this->enabled ); return is_bool( $enabled ) ? $enabled : (bool) $enabled; } /** * Retrieves the module name for audit logging. * * @return string The module name for audit logging. */ public static function get_module_name(): string { return esc_html__( 'Audit Logging', 'defender-security' ); } }