PluginProbe
WpStream – Live Streaming, Video on Demand, Pay Per View / 4.13
WpStream – Live Streaming, Video on Demand, Pay Per View v4.13
4.14.0 4.13.2 4.13.1 4.13 4.12.5 4.12.4 4.12.3 4.12.2 4.12.1 4.12 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5 4.5.1 4.5.11 4.5.11.1 4.5.11.2 4.5.11.4 4.5.11.5 4.5.11.6 4.5.12 All 180 releases
wpstream / includes / class-wpstream-activator.php

class-wpstream-activator.php in WpStream – Live Streaming, Video on Demand, Pay Per View 4.13, at includes/class-wpstream-activator.php

45 lines 898 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://wpstream.net
7 * @since 3.0.1
8 *
9 * @package Wpstream
10 * @subpackage Wpstream/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 3.0.1
19 * @package Wpstream
20 * @subpackage Wpstream/includes
21 * @author wpstream <office@wpstream.net>
22 */
23 class Wpstream_Activator {
24
25 /**
26 * Short Description. (use period)
27 *
28 * Long Description.
29 *
30 * @since 3.0.1
31 */
32 public static function activate() {
33
34 require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-wpstream_product.php';
35 $plugin_post_types = new Wpstream_Product();
36 $plugin_post_types->create_custom_post_type();
37
38 flush_rewrite_rules();
39
40 //
41
42 }
43
44 }
45