Skip to content

Commit daad2a8

Browse files
authored
Merge branch 'main' into copilot/fix-remove-role-display
2 parents 8d375bb + defb5ea commit daad2a8

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

README.md

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1776,6 +1776,21 @@ wp option
17761776

17771777
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.
17781778

1779+
**COMMON OPTIONS**
1780+
1781+
These are some of the most commonly used WordPress options:
1782+
1783+
* `siteurl` - Site URL, e.g. http://example.com
1784+
* `blogname` - Site title
1785+
* `blogdescription` - Site tagline
1786+
* `admin_email` - Administration email address
1787+
* `default_role` - Default role for new users
1788+
* `timezone_string` - Local timezone, e.g. "America/New_York"
1789+
* `home` - Home URL, e.g. http://example.com
1790+
* `blog_public` - Discourage search engines when set to 0
1791+
1792+
For the full list of available options, see the [Option Reference](https://developer.wordpress.org/apis/options/).
1793+
17791794
**EXAMPLES**
17801795

17811796
# Get site URL.

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)