disable

A list of WordPress features to enable.

Usage

KeyTypeRequiredDefault
"disable"arrayNo[]

Where "disable" is an array of strings selected from the options below.

Options

KeyDescription
"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"]
]