PluginProbe
Animated Blocks on Scroll / 1.1.1
Animated Blocks on Scroll v1.1.1
1.1.6 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5
animated-blocks / plugin.php

plugin.php in Animated Blocks on Scroll 1.1.1, at plugin.php

36 lines 776 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Plugin Name: Animated Blocks on Scroll
4 * Plugin URI: https://wordpress.org/plugins/animated-blocks/
5 * Description: Add scroll based animations to Gutenberg blocks.
6 * Author: Virgiliu Diaconu
7 * Author URI: http://virgiliudiaconu.com/
8 * Version: 1.1.1
9 * License: GPLv2 or later
10 * License URI: http://www.gnu.org/licenses/gpl-2.0.html
11 * Text Domain: animated-blocks
12 *
13 */
14
15 // Exit if accessed directly.
16 if ( ! defined( 'ABSPATH' ) ) {
17 exit;
18 }
19
20 /**
21 * Directory path of this plugin
22 *
23 * @var string
24 */
25 define( 'AB_PLUGIN_DIR', untrailingslashit( plugin_dir_path( __FILE__ ) ) );
26
27 /**
28 * Block Initializer.
29 */
30 require_once plugin_dir_path( __FILE__ ) . 'init.php';
31
32 /**
33 * Register Block.
34 */
35 require_once plugin_dir_path( __FILE__ ) . 'block/index.php';
36