ldc-groupe/content/plugins/wpseo-video/uninstall.php
Vincent BRIDIER 134507db43 - Backup DEV
- Add DotEnv
- Fix Bato
- Etc..
2020-05-04 15:59:02 +02:00

14 lines
383 B
PHP

<?php
/**
* Code used when the plugin is removed (not just deactivated but actively deleted through the WordPress Admin).
*
* @package Video SEO for WordPress SEO by Yoast
* @subpackage Uninstall
* @since 1.6.4
*/
if ( ! current_user_can( 'activate_plugins' ) || ( ! defined( 'ABSPATH' ) || ! defined( 'WP_UNINSTALL_PLUGIN' ) ) ) {
exit();
}
delete_option( 'wpseo_video' );