<?php /* * WP WAF Uninstall * * @since 1.0 */ // Check for the 'WP_UNINSTALL_PLUGIN' constant, before executing if( !defined( 'ABSPATH' ) && !defined( 'WP_UNINSTALL_PLUGIN' ) ) exit(); $args = array( 'waf_settings' ); // Delete options from the database delete_option( $args );