File: /home/muoapartman/www/wp-content/plugins/blocks-animation/blocks-animation.php
<?php
/**
* Blocks Animation
*
* @package ThemeIsle\GutenbergBlocks\Blocks_Animation
* @copyright Copyright (c) 2019, Hardeep Asrani
* @license http://opensource.org/licenses/gpl-3.0.php GNU Public License
* @since 1.0.0
*
* Plugin Name: Blocks Animation: CSS Animations for Gutenberg Blocks
* Plugin URI: https://github.com/Codeinwp/otter-blocks
* Description: Blocks Animation allows you to add CSS Animations to all of your Gutenberg blocks in the most elegent way.
* Version: 1.7.5
* Author: ThemeIsle
* Author URI: https://themeisle.com
* License: GPL-3.0+
* License URI: http://www.gnu.org/licenses/gpl-3.0.txt
* Text Domain: blocks-animation
* Domain Path: /languages
* WordPress Available: yes
* Requires License: no
*/
// If this file is called directly, abort.
if ( ! defined( 'WPINC' ) ) {
die;
}
define( 'BLOCKS_ANIMATION_URL', plugins_url( '/', __FILE__ ) );
define( 'BLOCKS_ANIMATION_PATH', dirname( __FILE__ ) );
add_action(
'plugins_loaded',
function () {
// call this only if Gutenberg is active.
if ( function_exists( 'register_block_type' ) ) {
require_once dirname( __FILE__ ) . '/class-blocks-animation.php';
if ( class_exists( '\ThemeIsle\GutenbergBlocks\Blocks_Animation' ) ) {
\ThemeIsle\GutenbergBlocks\Blocks_Animation::instance();
}
}
}
);