PluginProbe ʕ •ᴥ•ʔ
Blocks Animation: CSS Animations for Gutenberg Blocks / 2.2.3
Blocks Animation: CSS Animations for Gutenberg Blocks v2.2.3
3.2.0 3.1.11 3.1.10 2.2.5 2.2.6 2.2.7 2.3.0 2.3.1 2.3.2 2.3.3 2.3.4 2.4.0 2.4.1 2.5.0 2.5.1 2.5.2 2.6.0 2.6.1 2.6.10 2.6.11 2.6.12 2.6.13 2.6.2 2.6.3 2.6.4 2.6.5 2.6.6 2.6.7 2.6.8 2.6.9 3.0.0 3.0.1 3.0.10 3.0.11 3.0.12 3.0.2 3.0.3 3.0.4 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 3.1.6 3.1.7 3.1.8 3.1.9 trunk 1.0.0 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.7.1 1.7.2 1.7.3 1.7.4 1.7.5 2.0.0 2.0.1 2.0.10 2.0.11 2.0.12 2.0.13 2.0.14 2.0.15 2.0.16 2.0.2 2.0.3 2.0.4 2.0.5 2.0.6 2.0.7 2.0.8 2.0.9 2.1.0 2.1.1 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.2.0 2.2.1 2.2.2 2.2.3 2.2.4
blocks-animation / blocks-animation.php
blocks-animation Last commit date
build 3 years ago blocks-animation.php 3 years ago class-blocks-animation.php 3 years ago readme.md 3 years ago readme.txt 3 years ago
blocks-animation.php
45 lines
1 <?php
2 /**
3 * Blocks Animation
4 *
5 * @package ThemeIsle\GutenbergBlocks\Blocks_Animation
6 * @copyright Copyright (c) 2019, Hardeep Asrani
7 * @license http://opensource.org/licenses/gpl-3.0.php GNU Public License
8 * @since 1.0.0
9 *
10 * Plugin Name: Blocks Animation: CSS Animations for Gutenberg Blocks
11 * Plugin URI: https://github.com/Codeinwp/otter-blocks
12 * Description: Blocks Animation allows you to add CSS Animations to all of your Gutenberg blocks in the most elegent way.
13 * Version: 2.2.3
14 * Author: ThemeIsle
15 * Author URI: https://themeisle.com
16 * License: GPL-3.0+
17 * License URI: http://www.gnu.org/licenses/gpl-3.0.txt
18 * Text Domain: blocks-animation
19 * Domain Path: /languages
20 * WordPress Available: yes
21 * Requires License: no
22 */
23
24 // If this file is called directly, abort.
25 if ( ! defined( 'WPINC' ) ) {
26 die;
27 }
28
29 define( 'BLOCKS_ANIMATION_URL', plugins_url( '/', __FILE__ ) );
30 define( 'BLOCKS_ANIMATION_PATH', dirname( __FILE__ ) );
31
32 add_action(
33 'plugins_loaded',
34 function () {
35 // call this only if Gutenberg is active.
36 if ( function_exists( 'register_block_type' ) ) {
37 require_once dirname( __FILE__ ) . '/class-blocks-animation.php';
38
39 if ( class_exists( '\ThemeIsle\GutenbergBlocks\Blocks_Animation' ) ) {
40 \ThemeIsle\GutenbergBlocks\Blocks_Animation::instance();
41 }
42 }
43 }
44 );
45