Skip to content

Instantly share code, notes, and snippets.

@mahdiyazdani
Created April 22, 2024 19:06
Show Gist options
  • Save mahdiyazdani/2f8faa35f05f3a9a3e4320152895ee0d to your computer and use it in GitHub Desktop.
Save mahdiyazdani/2f8faa35f05f3a9a3e4320152895ee0d to your computer and use it in GitHub Desktop.
Delete Store Vacation Settings
<?php
delete_option( '_wsvpro_settings' );
// For site options in Multisite.
delete_site_option( '_wsvpro_settings' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment