-
Notifications
You must be signed in to change notification settings - Fork 4
/
nova-blocks.php
84 lines (73 loc) · 2.52 KB
/
nova-blocks.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?php
/**
* Plugin Name: Nova Blocks
* Plugin URI: https://github.com/pixelgrade/nova-blocks/
* Description: Nova Blocks is a collection of <strong>distinctive Gutenberg blocks</strong>, committed to making your site shine like a newborn star. It is taking a design-driven approach to help you made the right decisions and showcase your content in the best shape.
* Version: 2.1.7
* Author: Pixelgrade
* Author URI: https://www.pixelgrade.com
* License: GPLv2 or later
* License URI: http://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: __plugin_txtd
* Requires at least: 5.9
* Tested up to: 6.5.3
* Requires PHP: 7.4
* GitHub Plugin URI: pixelgrade/nova-blocks
* Release Asset: true
*
* Nova Blocks is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 2 of the License, or
* any later version.
*
* You should have received a copy of the GNU General Public License
* along with Nova Blocks. If not, see <http://www.gnu.org/licenses/gpl-2.0.html>.
*/
// If this file is called directly, abort.
if ( ! defined( 'ABSPATH' ) ) {
exit;
}
define( 'Pixelgrade\NovaBlocks\VERSION', '2.1.6' );
/**
* Gets this plugin's directory file path.
*
* @since 1.0.0
* @return string
* @ignore
* @access private
*
*/
function novablocks_get_plugin_path(): string {
static $novablocks_plugin_path;
if ( empty( $novablocks_plugin_path ) ) {
$novablocks_plugin_path = plugin_dir_path( __FILE__ );
}
return $novablocks_plugin_path;
}
/**
* Gets this plugin's URL.
*
* @since 1.0.0
* @return string
* @ignore
* @access private
*
*/
function novablocks_get_plugin_url(): string {
static $novablocks_plugin_url;
if ( empty( $novablocks_plugin_url ) ) {
$novablocks_plugin_url = plugins_url( null, __FILE__ );
}
return $novablocks_plugin_url;
}
require_once dirname( __FILE__ ) . '/lib/utils/ArrayHelpers.php';
require_once dirname( __FILE__ ) . '/lib/extras.php';
require_once dirname( __FILE__ ) . '/lib/setup.php';
require_once dirname( __FILE__ ) . '/lib/rest-api.php';
require_once dirname( __FILE__ ) . '/lib/theme-supports.php';
require_once dirname( __FILE__ ) . '/lib/block-editor-settings.php';
require_once dirname( __FILE__ ) . '/lib/block-patterns.php';
require_once dirname( __FILE__ ) . '/lib/block-rendering.php';
require_once dirname( __FILE__ ) . '/lib/client-assets.php';
require_once dirname( __FILE__ ) . '/lib/deprecated.php';
require_once dirname( __FILE__ ) . '/packages/core/src/blocks/init.php';