PluginProbe
Statify / trunk
Statify vtrunk
2.0.2 2.0.1 trunk 0.7 0.8 0.9 1.0 1.2.8 1.3.0 1.4.0 1.4.1 1.4.2 1.4.3 1.5.0 1.5.1 1.5.2 1.5.3 1.5.4 1.6.0 1.6.1 1.6.2 1.6.3 1.7.0 1.7.1 1.7.2 All 32 releases
statify / inc / class-statify-deactivate.php

class-statify-deactivate.php in Statify trunk, at inc/class-statify-deactivate.php

36 lines 593 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Statify: Statify_Deactivate class
4 *
5 * This file contains the derived class for the plugin's deactivation actions.
6 *
7 * @package Statify
8 * @since 1.4.0
9 */
10
11 // Quit if accessed outside WP context.
12 defined( 'ABSPATH' ) || exit;
13
14 /**
15 * Statify_Deactivate
16 *
17 * @since 1.4.0
18 */
19 class Statify_Deactivate {
20
21 /**
22 * Plugin deactivation actions
23 *
24 * @since 1.4.0
25 * @version 1.4.0
26 */
27 public static function init(): void {
28
29 // Delete transients.
30 delete_transient( 'statify_data' );
31
32 // Delete cron event.
33 wp_clear_scheduled_hook( 'statify_cleanup' );
34 }
35 }
36