Skip to content

Commit eac6762

Browse files
authored
Add missing documentation (#451)
1 parent bc7f0e4 commit eac6762

File tree

2 files changed

+40
-0
lines changed

2 files changed

+40
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2035,6 +2035,44 @@ wp option update <key> [<value>] [--autoload=<autoload>] [--format=<format>]
20352035

20362036

20372037

2038+
### wp option set-autoload
2039+
2040+
Sets the 'autoload' value for an option.
2041+
2042+
~~~
2043+
wp option set-autoload <key> <autoload>
2044+
~~~
2045+
2046+
**OPTIONS**
2047+
2048+
<key>
2049+
The name of the option to set 'autoload' for.
2050+
2051+
<autoload>
2052+
Should this option be automatically loaded.
2053+
---
2054+
options:
2055+
- 'yes'
2056+
- 'no'
2057+
---
2058+
2059+
2060+
2061+
### wp option get-autoload
2062+
2063+
Gets the 'autoload' value for an option.
2064+
2065+
~~~
2066+
wp option get-autoload <key>
2067+
~~~
2068+
2069+
**OPTIONS**
2070+
2071+
<key>
2072+
The name of the option to get 'autoload' of.
2073+
2074+
2075+
20382076
### wp post
20392077

20402078
Manages posts, content, and meta.

composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@
9292
"option patch",
9393
"option pluck",
9494
"option update",
95+
"option set-autoload",
96+
"option get-autoload",
9597
"post",
9698
"post create",
9799
"post delete",

0 commit comments

Comments
 (0)