GravityView
2.17
The best, easiest way to display Gravity Forms entries on your website.
|
Handle GravityView compatibility notices and fallback shortcodes. More...
Public Member Functions | |
__construct () | |
_shortcode_gf_notice ( $atts=array(), $content=null, $shortcode='gravityview') | |
add_hooks () | |
insert_admin_notices ( $notices=array()) | |
Add the compatibility notices to the other admin notices. More... | |
Static Public Member Functions | |
static | check_gravityforms () |
Check if Gravity Forms plugin is active and show notice if not. More... | |
static | check_php () |
Is the version of PHP compatible? More... | |
static | check_wordpress () |
Is WordPress compatible? More... | |
static | get_notices () |
Get admin notices. More... | |
static | get_plugin_status ( $location='') |
Check if specified plugin is active, inactive or not installed. More... | |
static | getInstance () |
static | is_valid () |
Is everything compatible with this version of GravityView? More... | |
Static Public Attributes | |
static | $instance = null |
static | $valid_gravity_forms = false |
static | $valid_php = false |
static | $valid_wordpress = false |
Private Member Functions | |
add_fallback_shortcode () | |
Static Private Member Functions | |
static | check_gf_directory () |
Check for potential conflicts and let users know about common issues. More... | |
static | is_valid_gravity_forms () |
static | is_valid_php () |
static | is_valid_wordpress () |
Is the version of WordPress compatible? More... | |
Static Private Attributes | |
static | $notices = array() |
Handle GravityView compatibility notices and fallback shortcodes.
Definition at line 18 of file class-gravityview-compatibility.php.
__construct | ( | ) |
Definition at line 45 of file class-gravityview-compatibility.php.
References add_hooks().
_shortcode_gf_notice | ( | $atts = array() , |
|
$content = null , |
|||
$shortcode = 'gravityview' |
|||
) |
array | $atts | |
null | $content | |
string | $shortcode |
Definition at line 168 of file class-gravityview-compatibility.php.
References $notices, and GVCommon\has_cap().
|
private |
Definition at line 136 of file class-gravityview-compatibility.php.
Referenced by add_hooks().
add_hooks | ( | ) |
Definition at line 58 of file class-gravityview-compatibility.php.
References add_fallback_shortcode().
Referenced by __construct().
|
staticprivate |
Check for potential conflicts and let users know about common issues.
Definition at line 374 of file class-gravityview-compatibility.php.
|
static |
Check if Gravity Forms plugin is active and show notice if not.
The plugin is activated and yet somehow GFCommon didn't get picked up... OR It's the Network Admin and we just don't know whether the sites have GF activated themselves.
Definition at line 271 of file class-gravityview-compatibility.php.
References $class, $title, gravityview(), GV_FUTURE_MIN_GF_VERSION, and GV_MIN_GF_VERSION.
Referenced by GravityView_Admin\check_gravityforms().
|
static |
Is the version of PHP compatible?
Definition at line 194 of file class-gravityview-compatibility.php.
References gravityview(), GV_FUTURE_MIN_PHP_VERSION, GV_MIN_PHP_VERSION, and GV_PLUGIN_VERSION.
|
static |
Is WordPress compatible?
Definition at line 231 of file class-gravityview-compatibility.php.
References gravityview(), GV_FUTURE_MIN_WP_VERSION, GV_MIN_WP_VERSION, and GV_PLUGIN_VERSION.
|
static |
Get admin notices.
Definition at line 154 of file class-gravityview-compatibility.php.
|
static |
Check if specified plugin is active, inactive or not installed.
string | $location | (default: '') |
Definition at line 395 of file class-gravityview-compatibility.php.
References getInstance().
Referenced by GravityView_Admin\get_plugin_status().
|
static |
Definition at line 78 of file class-gravityview-compatibility.php.
Referenced by get_plugin_status().
insert_admin_notices | ( | $notices = array() | ) |
Add the compatibility notices to the other admin notices.
array | $notices |
Definition at line 71 of file class-gravityview-compatibility.php.
References $notices.
|
static |
Is everything compatible with this version of GravityView?
Definition at line 93 of file class-gravityview-compatibility.php.
References gravityview().
Referenced by GravityView_Admin_Metaboxes\__construct().
|
staticprivate |
Definition at line 116 of file class-gravityview-compatibility.php.
References gravityview().
|
staticprivate |
Definition at line 128 of file class-gravityview-compatibility.php.
References gravityview().
|
staticprivate |
Is the version of WordPress compatible?
Definition at line 104 of file class-gravityview-compatibility.php.
References gravityview().
|
static |
Definition at line 23 of file class-gravityview-compatibility.php.
|
staticprivate |
Definition at line 43 of file class-gravityview-compatibility.php.
Referenced by _shortcode_gf_notice(), and insert_admin_notices().
|
static |
Definition at line 28 of file class-gravityview-compatibility.php.
|
static |
Definition at line 38 of file class-gravityview-compatibility.php.
|
static |
Definition at line 33 of file class-gravityview-compatibility.php.