PluginProbe
Simple Photo Feed / trunk
Simple Photo Feed vtrunk
trunk 1.0.0 1.0.1 1.0.2 1.1.0 1.2.0 1.3.0 1.3.1 1.3.2 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4
simple-photo-feed / simple-photo-feed.php

simple-photo-feed.php in Simple Photo Feed trunk, at simple-photo-feed.php

78 lines 2.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Simple Photo Feed
4 *
5 * @package Simple_Photo_Feed
6 * @author George Pattichis
7 * @copyright 2021 George Pattichis
8 * @license GPL-2.0-or-later
9 * @link https://profiles.wordpress.org/pattihis/
10 * @since 1.0.0
11 *
12 * @wordpress-plugin
13 * Plugin Name: Simple Photo Feed
14 * Plugin URI: https://wordpress.org/plugins/simple-photo-feed/
15 * Description: Simple Photo Feed provides an easy way to connect to your Instagram account and display your photos in your WordPress site.
16 * Version: 1.4.4
17 * Requires at least: 5.3.0
18 * Tested up to: 7.1
19 * Requires PHP: 7.2
20 * Author: George Pattichis
21 * Author URI: https://profiles.wordpress.org/pattihis/
22 * License: GPL-2.0+
23 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
24 * Text Domain: simple-photo-feed
25 * Domain Path: /languages
26 */
27
28 // If this file is called directly, abort.
29 if ( ! defined( 'WPINC' ) ) {
30 die;
31 }
32
33 /**
34 * Current plugin version
35 */
36 define( 'SPF_VERSION', '1.4.4' );
37
38 /**
39 * Plugin's basename
40 */
41 define( 'SPF_BASENAME', plugin_basename( __FILE__ ) );
42
43 /**
44 * The code that runs during plugin activation
45 */
46 function activate_simple_photo_feed() {
47 require_once plugin_dir_path( __FILE__ ) . 'includes/class-simple-photo-feed-activator.php';
48 Simple_Photo_Feed_Activator::activate();
49 }
50
51 /**
52 * The code that runs during plugin deactivation
53 */
54 function deactivate_simple_photo_feed() {
55 require_once plugin_dir_path( __FILE__ ) . 'includes/class-simple-photo-feed-deactivator.php';
56 Simple_Photo_Feed_Deactivator::deactivate();
57 }
58
59 register_activation_hook( __FILE__, 'activate_simple_photo_feed' );
60 register_deactivation_hook( __FILE__, 'deactivate_simple_photo_feed' );
61
62 /**
63 * The core plugin class
64 */
65 require plugin_dir_path( __FILE__ ) . 'includes/class-simple-photo-feed.php';
66
67 /**
68 * Begins execution of the plugin
69 *
70 * @since 1.0.0
71 */
72 function run_simple_photo_feed() {
73
74 $plugin = new Simple_Photo_Feed();
75 $plugin->run();
76 }
77 run_simple_photo_feed();
78