PluginProbe
Smart Grid-Layout Design for Contact Form 7 / 3.2.0
Smart Grid-Layout Design for Contact Form 7 v3.2.0
4.18.0 4.17.0 3.2.0 3.2.1 3.3.0 3.3.1 3.3.2 3.3.3 3.3.4 3.3.5 3.3.6 3.3.7 3.3.8 4.0.0 4.0.1 4.1.0 4.1.1 4.1.2 4.1.3 4.1.4 4.10 4.11 4.12 4.13 4.14 All 119 releases
cf7-grid-layout / includes / class-cf7-grid-layout-activator.php

class-cf7-grid-layout-activator.php in Smart Grid-Layout Design for Contact Form 7 3.2.0, at includes/class-cf7-grid-layout-activator.php

43 lines 1008 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * Fired during plugin activation
5 *
6 * @link http://syllogic.in
7 * @since 1.0.0
8 *
9 * @package Cf7_Grid_Layout
10 * @subpackage Cf7_Grid_Layout/includes
11 */
12
13 /**
14 * Fired during plugin activation.
15 *
16 * This class defines all code necessary to run during the plugin's activation.
17 *
18 * @since 1.0.0
19 * @package Cf7_Grid_Layout
20 * @subpackage Cf7_Grid_Layout/includes
21 * @author Aurovrata V. <vrata@syllogic.in>
22 */
23 class Cf7_Grid_Layout_Activator {
24
25 /**
26 * Short Description. (use period)
27 *
28 * Long Description.
29 *
30 * @since 1.0.0
31 */
32 public static function activate() {
33 if(!is_plugin_active( 'contact-form-7/wp-contact-form-7.php' )){
34 if(is_multisite()){
35 exit('Contact Form 7 plugin needs to be activated first. If you have activated it on select sites,
36 you will need to activate the Post My CF7 Form plugin on those sites only');
37 }
38 exit('This plugin requires the Contact Form 7 plugin to be activated first');
39 }
40 }
41
42 }
43