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>
20572057 - 'no'
20582058 ---
20592059
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+
20602066
20612067
20622068### wp option get-autoload
@@ -2072,6 +2078,12 @@ wp option get-autoload <key>
20722078 <key>
20732079 The name of the option to get 'autoload' of.
20742080
2081+ ** EXAMPLES**
2082+
2083+ # Get the 'autoload' value for an option.
2084+ $ wp option get-autoload blogname
2085+ yes
2086+
20752087
20762088
20772089### wp post
Original file line number Diff line number Diff line change @@ -441,6 +441,12 @@ public function update( $args, $assoc_args ) {
441441 * <key>
442442 * : The name of the option to get 'autoload' of.
443443 *
444+ * ## EXAMPLES
445+ *
446+ * # Get the 'autoload' value for an option.
447+ * $ wp option get-autoload blogname
448+ * yes
449+ *
444450 * @subcommand get-autoload
445451 */
446452 public function get_autoload ( $ args ) {
@@ -477,6 +483,12 @@ public function get_autoload( $args ) {
477483 * - 'no'
478484 * ---
479485 *
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+ *
480492 * @subcommand set-autoload
481493 */
482494 public function set_autoload ( $ args ) {
You can’t perform that action at this time.
0 commit comments