Skip to content

Commit da81cf2

Browse files
Copilotswissspidy
andauthored
Add common options reference to wp option documentation (#581)
Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com> Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Pascal Birchler <pascalb@google.com>
1 parent 7aea0fd commit da81cf2

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

src/Option_Command.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,21 @@
99
*
1010
* See the [Plugin Settings API](https://developer.wordpress.org/plugins/settings/settings-api/) and the [Theme Options](https://developer.wordpress.org/themes/customize-api/) for more information on adding customized options.
1111
*
12+
* ## COMMON OPTIONS
13+
*
14+
* These are some of the most commonly used WordPress options:
15+
*
16+
* * `siteurl` - Site URL, e.g. http://example.com
17+
* * `blogname` - Site title
18+
* * `blogdescription` - Site tagline
19+
* * `admin_email` - Administration email address
20+
* * `default_role` - Default role for new users
21+
* * `timezone_string` - Local timezone, e.g. "America/New_York"
22+
* * `home` - Home URL, e.g. http://example.com
23+
* * `blog_public` - Discourage search engines when set to 0
24+
*
25+
* For the full list of available options, see the [Option Reference](https://developer.wordpress.org/apis/options/).
26+
*
1227
* ## EXAMPLES
1328
*
1429
* # Get site URL.

0 commit comments

Comments
 (0)