# betterdocs/4.9.2/views/admin/partials/mode-switch.php

BetterDocs – AI Documentation, Knowledge Base, MCP Server, Docs, Wikis, FAQ &amp; Chatbot, version 4.9.2. 17 lines.

- Page: https://pluginprobe.com/plugins/betterdocs/4.9.2/code/views/admin/partials/mode-switch.php
- Raw: https://pluginprobe.com/plugins/betterdocs/4.9.2/raw/views/admin/partials/mode-switch.php
- Modified: 2026-06-23T11:52:12+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/betterdocs/4.9.2/code/views/admin/partials/mode-switch.php#L10-L20`.

```php
<?php if ( ! defined( 'ABSPATH' ) ) { exit; } ?>
<div class="betterdocs-switch-mode">
    <label for="betterdocs-mode-toggle">
        <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
            <g clip-path="url(#clip0_2890_21178)">
                <path d="M12 1V3M12 21V23M4.22 4.22L5.64 5.64M18.36 18.36L19.78 19.78M1 12H3M21 12H23M4.22 19.78L5.64 18.36M18.36 5.64L19.78 4.22M17 12C17 14.7614 14.7614 17 12 17C9.23858 17 7 14.7614 7 12C7 9.23858 9.23858 7 12 7C14.7614 7 17 9.23858 17 12Z" stroke="#475467" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/>
            </g>
            <defs>
                <clipPath id="clip0_2890_21178">
                <rect width="24" height="24" fill="white"/>
                </clipPath>
            </defs>
        </svg>
    </label>
    <input class="betterdocs-mode-toggle" id="betterdocs-mode-toggle" type="checkbox">
</div>

```
