'number', 'id' => 'password-protect-site-log-retention', 'name' => 'adminease[security][password_protect_site_log_retention]', 'value' => $settings['password_protect_site_log_retention'] ?? PasswordProtectSite::MAX_LOG_ENTRIES, 'label_class' => 'pwp-field-label', 'input_class' => 'pwp-field-input', 'wrapper_class' => 'form-group-child', 'label' => __( 'Access Log Retention', 'adminease' ), 'field_description' => __( 'Maximum number of log entries to keep. Set to 0 to disable logging.', 'adminease' ), 'attributes' => [ 'min' => 0, 'max' => 10000, 'data-parent' => 'password-protect-site-enabled', ], ] ); $log_retention_field->render(); ?>