/home/techb158/balacoffee.com/wp-content/themes/Divi-1/includes/builder/plugin-compat
NameSizeModeActions
scripts/-0755rm
styles/-0755rm
advanced-custom-fields-pro.php1680644editdlrm
advanced-custom-fields.php93690644editdlrm
amazon-s3-and-cloudfront-pro.php10350644editdlrm
amazon-s3-and-cloudfront.php31930644editdlrm
autoptimize.php11330644editdlrm
caldera-forms.php12650644editdlrm
cartflows.php19220644editdlrm
cdn-enabler.php14720644editdlrm
coursepress.php10940644editdlrm
divi-filterable-blog-module.php10610644editdlrm
divi-module-code-snippet.php15880644editdlrm
divi-testimonial-slider.php13030644editdlrm
divi_layout_injector.php30930644editdlrm
divi_woo_layout_injector.php14020644editdlrm
dk-pdf.php19410644editdlrm
ds-divi-rocket.php10810644editdlrm
easy-digital-downloads.php45220644editdlrm
eventon.php32690644editdlrm
events-manager.php15620644editdlrm
final-tiles-grid-gallery-lite.php14620644editdlrm
gravityforms.php7320644editdlrm
gravityformssignature.php17070644editdlrm
ht-knowledge-base.php16800644editdlrm
imagify.php32120644editdlrm
insert-pages.php14500644editdlrm
jucra-acf-google-maps-for-divi.php12960644editdlrm
kvcore-idx.php9150644editdlrm
landing-pages.php10170644editdlrm
m-chart.php13100644editdlrm
mappress-google-maps-for-wordpress.php17440644editdlrm
megamenu.php16400644editdlrm
modern-events-calendar-lite.php11860644editdlrm
nex-forms-express-wp-form-builder.php13500644editdlrm
paid-memberships-pro.php13880644editdlrm
photo-gallery.php14040644editdlrm
pilotpress.php15810644editdlrm
popup-maker.php55440644editdlrm
relevanssi-premium.php2470644editdlrm
relevanssi.php18950644editdlrm
sellsy.php10870644editdlrm
seo-by-rank-math.php59720644editdlrm
sfwd-lms.php46160644editdlrm
sg-cachepress.php26680644editdlrm
siteorigin-panels.php14660644editdlrm
sitepress-multilingual-cms.php97470644editdlrm
table-of-contents-plus.php10440644editdlrm
the-events-calendar-community-events.php13520644editdlrm
the-events-calendar.php75480644editdlrm
toolbar-publish-button.php10390644editdlrm
woo-paypalplus.php13480644editdlrm
woocommerce.php111200644editdlrm
wordpress-mu-domain-mapping.php15710644editdlrm
wordpress-seo.php25490644editdlrm
wp-job-manager.php19300644editdlrm
wp-responsive-table.php12180644editdlrm
wp-rocket.php13750644editdlrm
wp-smush-pro.php1560644editdlrm
wp-smushit.php50500644editdlrm
wp-views.php32980644editdlrm
wp3d-models.php11060644editdlrm
wpml-sticky-links.php14320644editdlrm
yith-woocommerce-dynamic-pricing-and-discounts-premium.php21020644editdlrm
Edit: /home/techb158/balacoffee.com/wp-content/themes/Divi-1/includes/builder/plugin-compat/eventon.php (3269B)
plugin_id = 'eventon/eventon.php'; $this->init_hooks(); } /** * Hook methods to WordPress. * * @since 3.10 * * @return void */ public function init_hooks() { // Bail if there's no version found. if ( ! $this->get_plugin_version() ) { return; } add_filter( 'et_builder_post_type_blocklist', array( $this, 'maybe_filter_post_type_blocklist' ) ); add_filter( 'et_builder_third_party_post_types', array( $this, 'maybe_filter_third_party_post_types' ) ); add_filter( 'et_builder_post_types', array( $this, 'maybe_filter_builder_post_types' ) ); add_filter( 'et_fb_post_types', array( $this, 'maybe_filter_builder_post_types' ) ); add_filter( 'et_builder_fb_enabled_for_post', array( $this, 'maybe_filter_fb_enabled_for_post' ), 10, 2 ); } /** * Get whether the EventOn content filter is set to WordPress' default one. * * @since 3.10 * * @return boolean */ public function uses_default_filter() { $options = get_option( 'evcal_options_evcal_1' ); return ! empty( $options['evo_content_filter'] ) && $options['evo_content_filter'] === 'def'; } /** * Maybe filter the post type blocklist if the post type is not supported. * * @since 3.10 * * @param string[] $post_types * * @return string[] */ public function maybe_filter_post_type_blocklist( $post_types ) { if ( ! $this->uses_default_filter() ) { $post_types[] = $this->event_post_type; } return $post_types; } /** * Maybe filter the supported post type allowlist if the post type is supported. * * @since 3.10 * * @param string[] $post_types * * @return string[] */ public function maybe_filter_third_party_post_types( $post_types ) { if ( $this->uses_default_filter() ) { $post_types[] = $this->event_post_type; } return $post_types; } /** * Maybe filter the enabled post type list if the post type has been enabled but the content * filter has been changed back to the unsupported one. * * @since 3.10 * * @param string[] $post_types * * @return string[] */ public function maybe_filter_builder_post_types( $post_types ) { if ( ! $this->uses_default_filter() ) { $index = array_search( $this->event_post_type, $post_types ); array_splice( $post_types, $index, 1 ); } return $post_types; } /** * Maybe disable the FB for a given post if the builder was enabled but the * content filter was switched after that. * * @since 3.10 * * @param boolean $enabled * @param integer $post_id * * @return boolean */ public function maybe_filter_fb_enabled_for_post( $enabled, $post_id ) { $post_type = get_post_type( $post_id ); if ( $post_type === $this->event_post_type && ! $this->uses_default_filter() ) { $enabled = false; } return $enabled; } } new ET_Builder_Plugin_Compat_Eventon();