This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
studio11/wp-content/plugins/shadowbox-js/uninstall.php
T
2011-07-31 17:32:10 +02:00

17 lines
407 B
PHP
Executable File

<?php
/**
* Uninstalls the shadowbox-js options when an uninstall has been requested
* from the WordPress admin
*
* @package shadowbox-js
* @subpackage uninstall
* @since 2.0.3.0
*/
// If uninstall/delete not called from WordPress then exit
if( ! defined ( 'ABSPATH' ) && ! defined ( 'WP_UNINSTALL_PLUGIN' ) )
exit ();
// Delete shadowbox option from options table
delete_option ( 'shadowbox' );