15 if ( ! defined(
'ABSPATH' ) ) {
19 require_once __DIR__ .
'/vendor_prefixed/gravitykit/foundation/src/preflight_check.php';
34 define(
'GV_PLUGIN_VERSION',
'2.17' );
40 define(
'GRAVITYVIEW_FILE', __FILE__ );
45 define(
'GRAVITYVIEW_URL', plugin_dir_url( __FILE__ ) );
49 define(
'GRAVITYVIEW_DIR', plugin_dir_path( __FILE__ ) );
54 define(
'GV_MIN_GF_VERSION',
'2.3.3.9' );
60 define(
'GV_FUTURE_MIN_GF_VERSION',
'2.5.0' );
66 define(
'GV_MIN_WP_VERSION',
'4.7.0' );
72 define(
'GV_FUTURE_MIN_WP_VERSION',
'5.3' );
78 define(
'GV_MIN_PHP_VERSION',
'5.6.4' );
85 define(
'GV_FUTURE_MIN_PHP_VERSION',
'7.4.0' );
92 add_action(
'plugins_loaded',
function () {
98 final class GravityView_Plugin {
const GRAVITYVIEW_DIR
"GRAVITYVIEW_DIR" "./" The absolute path to the plugin directory, with trailing slash ...
const GV_PLUGIN_VERSION(! GravityKit\GravityView\Foundation\meets_min_php_version_requirement(__FILE__, '7.2.0'))
Constants.
meets_min_php_version_requirement( $plugin_file, $min_php_version='5.6.4', $show_notice=true)
Checks if the minimum PHP version requirement is met.
should_load( $plugin_file)
Determines if a plugin should load.