File tree Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Expand file tree Collapse file tree 2 files changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -2057,6 +2057,12 @@ wp option set-autoload <key> <autoload>
2057
2057
- 'no'
2058
2058
---
2059
2059
2060
+ ** EXAMPLES**
2061
+
2062
+ # Set the 'autoload' value for an option.
2063
+ $ wp option set-autoload abc_options no
2064
+ Success: Updated autoload value for 'abc_options' option.
2065
+
2060
2066
2061
2067
2062
2068
### wp option get-autoload
@@ -2072,6 +2078,12 @@ wp option get-autoload <key>
2072
2078
<key>
2073
2079
The name of the option to get 'autoload' of.
2074
2080
2081
+ ** EXAMPLES**
2082
+
2083
+ # Get the 'autoload' value for an option.
2084
+ $ wp option get-autoload blogname
2085
+ yes
2086
+
2075
2087
2076
2088
2077
2089
### wp post
Original file line number Diff line number Diff line change @@ -441,6 +441,12 @@ public function update( $args, $assoc_args ) {
441
441
* <key>
442
442
* : The name of the option to get 'autoload' of.
443
443
*
444
+ * ## EXAMPLES
445
+ *
446
+ * # Get the 'autoload' value for an option.
447
+ * $ wp option get-autoload blogname
448
+ * yes
449
+ *
444
450
* @subcommand get-autoload
445
451
*/
446
452
public function get_autoload ( $ args ) {
@@ -477,6 +483,12 @@ public function get_autoload( $args ) {
477
483
* - 'no'
478
484
* ---
479
485
*
486
+ * ## EXAMPLES
487
+ *
488
+ * # Set the 'autoload' value for an option.
489
+ * $ wp option set-autoload abc_options no
490
+ * Success: Updated autoload value for 'abc_options' option.
491
+ *
480
492
* @subcommand set-autoload
481
493
*/
482
494
public function set_autoload ( $ args ) {
You can’t perform that action at this time.
0 commit comments