PluginProbe
WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation / trunk
WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation vtrunk
1.4.48 1.4.47 1.4.46 1.4.45 1.4.44 1.4.43 1.4.42 1.4.41 1.4.40 1.4.39 1.4.38 1.4.37 1.4.36 1.1.2 1.2.0 1.2.1 1.2.2 1.3.0 1.3.1 1.4.0 1.4.1 1.4.10 1.4.11 1.4.12 1.4.13 All 64 releases
optin / includes / class-deactivator.php

class-deactivator.php in WowOptin: Next-Gen Popup Maker – Create Stunning Popups and Optins for Lead Generation trunk, at includes/class-deactivator.php

38 lines 699 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace OPTN\Includes;
4
5 /**
6 * Fired during plugin deactivation
7 *
8 * @link https://wpxpo.com
9 * @since 1.0.0
10 *
11 * @package optin
12 * @subpackage optin/includes
13 */
14
15 /**
16 * Fired during plugin deactivation.
17 *
18 * This class defines all code necessary to run during the plugin's deactivation.
19 *
20 * @since 1.0.0
21 * @package optin
22 * @subpackage optin/includes
23 */
24 class Deactivator {
25
26 /**
27 * Short Description. (use period)
28 *
29 * Long Description.
30 *
31 * @since 1.0.0
32 */
33 public static function deactivate() {
34 $timestamp = wp_next_scheduled( 'optn_clean_db' );
35 wp_unschedule_event( $timestamp, 'optn_clean_db' );
36 }
37 }
38