Files
xmartica/wp-content/plugins/polylang-pro/dependencies/wpsyntex/updater/uninstall.php
T
2026-10-12 09:09:57 -06:00

16 lines
413 B
PHP

<?php
/**
* @package Polylang Updater
*/
// If uninstall not called from WordPress exit.
if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
exit;
}
// Deletes cache options generated by `EDD_SL_Plugin_Updater`.
global $wpdb;
// phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
$wpdb->query( "DELETE FROM {$wpdb->options} WHERE option_name LIKE 'edd\_sl\_%'" );