PluginProbe
SmartVideo – Video Player and CDN / 1.0
SmartVideo – Video Player and CDN v1.0
2.4.4 2.4.3 2.4.2 2.4.1 2.4.0 2.3.3 2.3.1 2.3.2 2.3.0 trunk 1.0 1.0.1 1.0.2 1.1.3 1.1.4 1.1.7 1.1.8 1.2.0 1.2.1 2.0.0 2.0.1 2.0.2 2.1.0 2.1.1 2.1.2 All 28 releases
smartvideo / SmartVideo.php

SmartVideo.php in SmartVideo – Video Player and CDN 1.0, at SmartVideo.php

77 lines 2.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 *
5 * @link https://swarmify.com/
6 * @since 1.0.0
7 * @package Swarmify
8 *
9 * @wordpress-plugin
10 * Plugin Name: SmartVideo
11 * Plugin URI: http://swarmify.com
12 * Description: SmartVideo makes building a beautiful, professional video experience for your site effortless.
13 * Version: 1.0
14 * Author: Swarmify
15 * Author URI: https://swarmify.com/
16 * License: AGPL-3.0
17 * License URI: https://www.gnu.org/licenses/agpl.txt
18 * Text Domain: swarmify
19 * Domain Path: /languages
20 */
21
22 // If this file is called directly, abort.
23 if ( ! defined( 'WPINC' ) ) {
24 die;
25 }
26
27 /**
28 * Currently plugin version.
29 * Start at version 1.0.0 and use SemVer - https://semver.org
30 * Rename this for your plugin and update it as you release new versions.
31 */
32 define( 'SWARMIFY_PLUGIN_VERSION', '1.0' );
33
34 /**
35 * The code that runs during plugin activation.
36 * This action is documented in includes/class-swarmify-activator.php
37 */
38 function activate_swarmify() {
39 require_once plugin_dir_path( __FILE__ ) . 'includes/class-swarmify-activator.php';
40 Swarmify_Activator::activate();
41 }
42
43 /**
44 * The code that runs during plugin deactivation.
45 * This action is documented in includes/class-swarmify-deactivator.php
46 */
47 function deactivate_swarmify() {
48 require_once plugin_dir_path( __FILE__ ) . 'includes/class-swarmify-deactivator.php';
49 Swarmify_Deactivator::deactivate();
50 }
51
52 register_activation_hook( __FILE__, 'activate_swarmify' );
53 register_deactivation_hook( __FILE__, 'deactivate_swarmify' );
54
55 /**
56 * The core plugin class that is used to define internationalization,
57 * admin-specific hooks, and public-facing site hooks.
58 */
59 require plugin_dir_path( __FILE__ ) . 'includes/class-swarmify.php';
60
61 /**
62 * Begins execution of the plugin.
63 *
64 * Since everything within the plugin is registered via hooks,
65 * then kicking off the plugin from this point in the file does
66 * not affect the page life cycle.
67 *
68 * @since 1.0.0
69 */
70 function run_swarmify() {
71
72 $plugin = new Swarmify();
73 $plugin->run();
74
75 }
76 run_swarmify();
77