* * @wordpress-plugin * Plugin Name: Gobi Photo Montage Animator * Plugin URI: http://www.ajmebc.co.uk/wordpress/gobi * Description: Add some images from your media library to your post and this plugin will circulate through the collection. * Version: 1.2.1 * Author: AJ & MEBC Ltd * Author URI: http://www.ajmebc.co.uk/ * License: GPL-2.0+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt * Text Domain: ajmebc-gam * Domain Path: /languages */ // If this file is called directly, abort. if ( ! defined( 'WPINC' ) ) { die; } /** * The code that runs during plugin activation. * This action is documented in includes/class-ajmebc-gam-activator.php */ function activate_ajmebc_gam() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-ajmebc-gam-activator.php'; ajmebc_gam_Activator::activate(); } /** * The code that runs during plugin deactivation. * This action is documented in includes/class-ajmebc-gam-deactivator.php */ function deactivate_ajmebc_gam() { require_once plugin_dir_path( __FILE__ ) . 'includes/class-ajmebc-gam-deactivator.php'; ajmebc_gam_Deactivator::deactivate(); } register_activation_hook( __FILE__, 'activate_ajmebc_gam' ); register_deactivation_hook( __FILE__, 'deactivate_ajmebc_gam' ); /** * The core plugin class that is used to define internationalization, * admin-specific hooks, and public-facing site hooks. */ require plugin_dir_path( __FILE__ ) . 'includes/class-ajmebc-gam.php'; /** * Begins execution of the plugin. * * @since 1.0.0 */ function run_ajmebc_gam() { $plugin = new ajmebc_gam(); $plugin->run(); } run_ajmebc_gam();