arguments
3 years ago
arrayable
3 years ago
filters
3 years ago
http
3 years ago
post
3 years ago
repository
3 years ago
resources
3 years ago
security
3 years ago
theme
3 years ago
attributes-trait.php
3 years ago
base-attributes-trait.php
3 years ago
builder-helper.php
3 years ago
compatibility.php
3 years ago
condition-helper.php
3 years ago
gallery.php
3 years ago
get-icon-trait.php
3 years ago
get-template-trait.php
3 years ago
html-attributes-trait.php
3 years ago
instance-trait.php
3 years ago
listing-filter-manager.php
3 years ago
listing-filter.php
3 years ago
macros-parser.php
3 years ago
messages-helper-trait.php
3 years ago
tools.php
3 years ago
compatibility.php
22 lines
| 1 | <?php |
| 2 | |
| 3 | |
| 4 | namespace Jet_Form_Builder\Classes; |
| 5 | |
| 6 | class Compatibility { |
| 7 | |
| 8 | public static function has_jet_sm(): bool { |
| 9 | return ( |
| 10 | class_exists( 'JET_SM\Gutenberg\Controls_Manager' ) |
| 11 | && class_exists( 'JET_SM\Gutenberg\Block_Manager' ) |
| 12 | ); |
| 13 | } |
| 14 | |
| 15 | public static function has_jet_engine(): bool { |
| 16 | return ( |
| 17 | function_exists( 'jet_engine' ) |
| 18 | ); |
| 19 | } |
| 20 | |
| 21 | } |
| 22 |