PluginProbe
WP Ultimate Post Grid / 4.1.1
WP Ultimate Post Grid v4.1.1
4.1.1 trunk 1.5 1.6 1.7 1.7.1 1.7.2 1.8 1.9 2.0 2.1 2.2 2.3 2.4.0 2.5.0 2.6.0 2.7.0 2.8.0 2.8.2 3.0.0 3.3.0 3.4.0 3.5.0 3.6.0 3.7.0 All 32 releases
wp-ultimate-post-grid / includes / class-wpupg-activator.php

class-wpupg-activator.php in WP Ultimate Post Grid 4.1.1, at includes/class-wpupg-activator.php

34 lines 732 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Fired during plugin activation.
4 *
5 * @link https://bootstrapped.ventures
6 * @since 3.0.0
7 *
8 * @package WP_Ultimate_Post_Grid
9 * @subpackage WP_Ultimate_Post_Grid/includes
10 */
11
12 /**
13 * Fired during plugin activation.
14 *
15 * This class defines all code necessary to run during the plugin's activation.
16 *
17 * @since 3.0.0
18 * @package WP_Ultimate_Post_Grid
19 * @subpackage WP_Ultimate_Post_Grid/includes
20 * @author Brecht Vandersmissen <brecht@bootstrapped.ventures>
21 */
22 class WPUPG_Activator {
23
24 /**
25 * Execute this on activation of the plugin.
26 *
27 * @since 3.0.0
28 */
29 public static function activate() {
30 add_option( 'wpupg_activated', true );
31 update_option( 'wpupg_flush', '1' );
32 }
33 }
34