# easy-basic-authentication/1.3/template/settings_page.php

Easy Basic Authentication – Add basic auth to site or admin area, version 1.3. 9 lines.

- Page: https://pluginprobe.com/plugins/easy-basic-authentication/1.3/code/template/settings_page.php
- Raw: https://pluginprobe.com/plugins/easy-basic-authentication/1.3/raw/template/settings_page.php
- Modified: 2023-09-29T05:45:44+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/easy-basic-authentication/1.3/code/template/settings_page.php#L10-L20`.

```php
<div class="wrap">
    <form method="post" action="options.php">
        <?php
        settings_fields( 'basic-auth-plugin-settings' );
        do_settings_sections( 'basic-auth-plugin-settings' );
        submit_button(__('save', 'easy-basic-authentication'), 'primary', 'eba_submit', false);
        ?>
    </form>
</div>
```
