disable
A list of WordPress features to enable.
Usage
Key | Type | Required | Default |
---|---|---|---|
"disable" | array | No | [] |
Where "disable"
is an array of strings selected from the options below.
Options
Key | Description |
---|---|
"editor" | Disables WordPress’s editor on the admin page. Helpful if you don’t want people breaking your theme. |
Example
<?php # config.php
return [
"disable" => ["editor"]
]