Skip to content

Commit 9bdeeae

Browse files
committed
Add an uninstall file.
1 parent 783d9f1 commit 9bdeeae

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

src/uninstall.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
/**
3+
* Uninstall Able Player
4+
*
5+
* @category Core
6+
* @package Able Player for WordPress
7+
* @author Joe Dolson
8+
* @license GPLv3
9+
* @link https://xposterpro.com
10+
*/
11+
12+
if ( ! defined( 'ABSPATH' ) && ! defined( 'WP_UNINSTALL_PLUGIN' ) ) {
13+
exit();
14+
} else {
15+
delete_option( 'able_player_count' );
16+
delete_option( 'able_show_playground_intro' );
17+
delete_option( 'ableplayer_settings' );
18+
}

0 commit comments

Comments
 (0)