Wp option delete (WP-CLI)
Versie door Jeroen Strompf (overleg | bijdragen) op 29 jul 2022 om 08:26
Deletes an option.
$ wp help option delete NAME wp option delete DESCRIPTION Deletes an option. SYNOPSIS wp option delete <key>... OPTIONS <key>... Key for the option. EXAMPLES # Delete an option. $ wp option delete my_option Success: Deleted 'my_option' option. # Delete multiple options. $ wp option delete option_one option_two option_three Success: Deleted 'option_one' option. Success: Deleted 'option_two' option. Warning: Could not delete 'option_three' option. Does it exist?