PluginProbe ʕ •ᴥ•ʔ
FrontBlocks for Gutenberg/GeneratePress / 0.2.5
FrontBlocks for Gutenberg/GeneratePress v0.2.5
trunk 0.2.0 0.2.1 0.2.2 0.2.3 0.2.4 0.2.5 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.1.0 1.2.0 1.2.1 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.3.5 1.3.6 ci-artifacts
frontblocks / frontblocks.php
frontblocks Last commit date
includes 1 year ago frontblocks.php 11 months ago readme.txt 11 months ago
frontblocks.php
49 lines
1 <?php
2 /**
3 * Plugin Name: FrontBlocks for GeneratePress
4 * Plugin URI: https://github.com/closemarketing/frontblocks
5 * Description: Blocks and helpers to facilitate GeneratePress frontend developing.
6 * Version: 0.2.5
7 * Author: Closemarketing
8 * Author URI: https://close.marketing
9 * Text Domain: frontblocks
10 * Domain Path: /languages
11 * License: GPL-2.0+
12 * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
13 *
14 * Requires at least: 6.7
15 * Requires PHP: 7.0
16 *
17 * @package FrontBlocks
18 * @author Closemarketing
19 * @copyright 2023 Closemarketing
20 * @license GPL-2.0+
21 *
22 * @wordpress-plugin
23 *
24 * Prefix: frbl_
25 */
26
27 defined( 'ABSPATH' ) || die( 'No script kiddies please!' );
28
29 define( 'FRBL_VERSION', '0.2.5' );
30 define( 'FRBL_PLUGIN', __FILE__ );
31 define( 'FRBL_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
32 define( 'FRBL_PLUGIN_PATH', plugin_dir_path( __FILE__ ) );
33
34 add_action( 'plugins_loaded', 'frbl__plugin_init' );
35 /**
36 * Load localization files
37 *
38 * @return void
39 */
40 function frbl__plugin_init() {
41 load_plugin_textdomain( 'frontblocks', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
42 }
43
44 // Carousel.
45 require_once FRBL_PLUGIN_PATH . 'includes/carousel/frontblocks-carousel.php';
46
47 // Animations.
48 require_once FRBL_PLUGIN_PATH . 'includes/animations/frontblocks-animations.php';
49