PATH:
home
/
bkunreyz
/
icnavancouver.ca
/
wp-content
/
themes
/
Divi
/
includes
/
builder
/
plugin-compat
<?php /** * Compatibility Gravity Forms Signature Add-On. * * @package Divi * @subpackage Builder * @since 4.10.6 */ if ( ! defined( 'ABSPATH' ) ) { // Exit if accessed directly. exit; } /** * Compatibility Gravity Forms Signature Add-On. * * @since 4.10.6 * * @link https://gravityforms.com */ class ET_Builder_Plugin_Compat_GravityForms_Signature_AddOn extends ET_Builder_Plugin_Compat_Base { /** * Constructor. * * @since 4.10.6 */ public function __construct() { $this->plugin_id = 'gravityformssignature/signature.php'; $this->init_hooks(); } /** * Hook methods to WordPress. * * @since 4.10.6 * * @return void */ public function init_hooks() { // Bail if there's no version found. if ( ! $this->get_plugin_version() ) { return; } add_filter( 'et_builder_enable_jquery_body', array( $this, 'maybe_disable_jquery_body' ), 10, 2 ); } /** * Maybe Disable JQuery Body feature. * * @since 4.10.6 * * @param bool $enabled Whether the feature should be enabled or not. * @param string $content TB/Post content. * * @return bool */ public function maybe_disable_jquery_body( $enabled, $content ) { // Disable when plugin scripts are enqueued or `gravityform` shortcode is used. // Ideally we'd want to do the latter only when the form actually includes a signature field // but that would require extracting and parsing the shortcode manually in order to get the form ID // and we already have enough opened can of worms to deal with. return wp_script_is( 'super_signature_script' ) || false !== strpos( $content, '[gravityform' ) ? false : $enabled; } } new ET_Builder_Plugin_Compat_GravityForms_Signature_AddOn();
[-] wpml-sticky-links.php
[edit]
[-] caldera-forms.php
[edit]
[-] events-manager.php
[edit]
[-] amazon-s3-and-cloudfront-pro.php
[edit]
[-] dk-pdf.php
[edit]
[-] wp3d-models.php
[edit]
[-] woocommerce.php
[edit]
[-] table-of-contents-plus.php
[edit]
[-] divi-testimonial-slider.php
[edit]
[+]
styles
[-] ds-divi-rocket.php
[edit]
[-] wp-job-manager.php
[edit]
[-] eventon.php
[edit]
[-] divi_layout_injector.php
[edit]
[-] yith-woocommerce-dynamic-pricing-and-discounts-premium.php
[edit]
[-] coursepress.php
[edit]
[-] jucra-acf-google-maps-for-divi.php
[edit]
[-] mappress-google-maps-for-wordpress.php
[edit]
[-] modern-events-calendar-lite.php
[edit]
[-] woo-paypalplus.php
[edit]
[-] relevanssi.php
[edit]
[-] popup-maker.php
[edit]
[-] amazon-s3-and-cloudfront.php
[edit]
[-] autoptimize.php
[edit]
[-] imagify.php
[edit]
[-] photo-gallery.php
[edit]
[-] insert-pages.php
[edit]
[-] sfwd-lms.php
[edit]
[-] wp-smush-pro.php
[edit]
[-] easy-digital-downloads.php
[edit]
[-] wp-responsive-table.php
[edit]
[-] pilotpress.php
[edit]
[-] advanced-custom-fields.php
[edit]
[-] wp-rocket.php
[edit]
[+]
..
[-] seo-by-rank-math.php
[edit]
[-] paid-memberships-pro.php
[edit]
[-] cartflows.php
[edit]
[-] nex-forms-express-wp-form-builder.php
[edit]
[-] final-tiles-grid-gallery-lite.php
[edit]
[-] kvcore-idx.php
[edit]
[-] wp-views.php
[edit]
[-] sg-cachepress.php
[edit]
[+]
scripts
[-] .htaccess
[edit]
[-] wordpress-mu-domain-mapping.php
[edit]
[-] divi_woo_layout_injector.php
[edit]
[-] the-events-calendar.php
[edit]
[-] megamenu.php
[edit]
[-] gravityformssignature.php
[edit]
[-] relevanssi-premium.php
[edit]
[-] divi-module-code-snippet.php
[edit]
[-] ht-knowledge-base.php
[edit]
[-] wordpress-seo.php
[edit]
[-] the-events-calendar-community-events.php
[edit]
[-] siteorigin-panels.php
[edit]
[-] m-chart.php
[edit]
[-] divi-filterable-blog-module.php
[edit]
[-] gravityforms.php
[edit]
[-] sitepress-multilingual-cms.php
[edit]
[-] advanced-custom-fields-pro.php
[edit]
[-] wp-smushit.php
[edit]
[-] sellsy.php
[edit]
[-] landing-pages.php
[edit]
[-] toolbar-publish-button.php
[edit]
[-] cdn-enabler.php
[edit]