Читать книгу Professional WordPress Plugin Development - Brad Williams - Страница 102

WordPress’ Sections and Setting Fields

Оглавление

To add a section to an existing page or a field to an existing section, all you need to know is the slug name of the page. Table 3‐1 includes every section and field set names found in the WordPress Settings pages.

TABLE 3-1: List of Core Sections and Fields

WORDPRESS’ SETTINGS PAGES SECTION NAMES FIELD SET NAMES
General Settings (options‐general.php) general default
Writing Settings (options‐writing.php) writing default remote_publishing post_via_email
Reading Settings (options‐reading.php) reading default
Discussion Settings (options‐discussion.php) discussion default avatars
Media Settings (options‐media.php) media default embeds uploads
Permalink Settings (options‐permalink.php) permalink optional
Professional WordPress Plugin Development

Подняться наверх