# wpstream/4.5.11.4/includes/class-wpstream-activator.php

WpStream – Live Streaming, Video on Demand, Pay Per View, version 4.5.11.4. 45 lines.

- Page: https://pluginprobe.com/plugins/wpstream/4.5.11.4/code/includes/class-wpstream-activator.php
- Raw: https://pluginprobe.com/plugins/wpstream/4.5.11.4/raw/includes/class-wpstream-activator.php
- Modified: 2019-09-24T13:00:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/wpstream/4.5.11.4/code/includes/class-wpstream-activator.php#L10-L20`.

```php
<?php

/**
 * Fired during plugin activation
 *
 * @link       http://wpstream.net
 * @since      3.0.1
 *
 * @package    Wpstream
 * @subpackage Wpstream/includes
 */

/**
 * Fired during plugin activation.
 *
 * This class defines all code necessary to run during the plugin's activation.
 *
 * @since      3.0.1
 * @package    Wpstream
 * @subpackage Wpstream/includes
 * @author     wpstream <office@wpstream.net>
 */
class Wpstream_Activator {

	/**
	 * Short Description. (use period)
	 *
	 * Long Description.
	 *
	 * @since    3.0.1
	 */
	public static function activate() {
        
            require_once plugin_dir_path( dirname( __FILE__ ) ) . 'includes/class-wpstream_product.php';
            $plugin_post_types = new Wpstream_Product();
            $plugin_post_types->create_custom_post_type();
    
            flush_rewrite_rules();
          
//            
            
	}

}

```
