PATH:
home
/
fengshp
/
www
/
wp-content
/
themes
/
themify-ultra
/
themify
/
themify-builder
/
includes
/
plugin-compat
<?php /** * Builder Plugin Compatibility Code * * @package Themify_Builder * @subpackage Themify_Builder/classes */ class Themify_Builder_Plugin_Compat_EnviraGallery { static function init() { add_filter( 'themify_builder_post_types_support', array( __CLASS__, 'themify_builder_post_types_support' ), 12, 1 ); add_filter( 'themify_post_types',array( __CLASS__, 'themify_builder_post_types_support' ), 12, 1 ); } /** * Filter builder post types compatibility * * @access public * @param int $new_id */ public static function themify_builder_post_types_support(array $post_types):array{ $post_types = array_keys(array_flip($post_types)); $exclude = array_search('envira', $post_types,true); if($exclude!==false){ unset($post_types[$exclude]); } $exclude = array_search('envira_album', $post_types,true); if($exclude!==false){ unset($post_types[$exclude]); } return $post_types; } }
[+]
..
[-] eventsmadeeasy.php
[edit]
[-] relatedposts.php
[edit]
[-] statcounter.php
[edit]
[-] polylang2.php
[edit]
[-] pmpro.php
[edit]
[-] enviragallery.php
[edit]
[+]
css
[-] autooptimize.php
[edit]
[-] members.php
[edit]
[-] gallerycustomlinks.php
[edit]
[-] kadence.php
[edit]
[-] armember.php
[edit]
[-] smartcookie.php
[edit]
[-] wcmembership.php
[edit]
[-] woocommerce.php
[edit]
[+]
js
[-] maxgalleriamedialibpro.php
[edit]
[-] bwpminify.php
[edit]
[-] essentialgrid.php
[edit]
[-] wpml.php
[edit]
[-] facetwp.php
[edit]
[-] cachepress.php
[edit]
[-] eventscalendar.php
[edit]
[-] wpjobmanager.php
[edit]
[-] rankmath.php
[edit]
[-] duplicateposts.php
[edit]
[-] wpml-translation.php
[edit]
[-] dokan.php
[edit]
[-] tutor.php
[edit]
[-] thrive.php
[edit]
[-] eventtickets.php
[edit]
[-] wpcourseware.php
[edit]