Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/clone/wp-conte.../plugins/themify-.../classes
File: class-themify-builder.php
'enviragallery' => 'envira-gallery/envira-gallery.php',
[1000] Fix | Delete
'eventscalendar' => 'the-events-calendar/the-events-calendar.php',
[1001] Fix | Delete
'gallerycustomlinks' => 'wp-gallery-custom-links/wp-gallery-custom-links.php',
[1002] Fix | Delete
'maxgalleriamedialibpro' => class_exists('MaxGalleriaMediaLibPro',false),
[1003] Fix | Delete
'members' => 'members/members.php',
[1004] Fix | Delete
'pmpro' => 'paid-memberships-pro/paid-memberships-pro.php',
[1005] Fix | Delete
'rankmath' => 'seo-by-rank-math/rank-math.php',
[1006] Fix | Delete
'relatedposts' => 'wordpress-23-related-posts-plugin/wp_related_posts.php',
[1007] Fix | Delete
'smartcookie' => 'smart-cookie-kit/plugin.php',
[1008] Fix | Delete
'thrive' => 'thrive-visual-editor/thrive-visual-editor.php',
[1009] Fix | Delete
'wcmembership' => 'woocommerce-membership/woocommerce-membership.php',
[1010] Fix | Delete
'woocommerce' => 'woocommerce/woocommerce.php',
[1011] Fix | Delete
'wpml' => 'sitepress-multilingual-cms/sitepress.php',
[1012] Fix | Delete
'wpjobmanager' => 'wp-job-manager/wp-job-manager.php',
[1013] Fix | Delete
'eventsmadeeasy' => 'events-made-easy/events-manager.php',
[1014] Fix | Delete
'essentialgrid' => 'essential-grid/essential-grid.php',
[1015] Fix | Delete
'armember' => 'armember/armember.php',
[1016] Fix | Delete
'statcounter' => 'official-statcounter-plugin-for-wordpress/StatCounter-Wordpress-Plugin.php',
[1017] Fix | Delete
'eventtickets' => 'event-tickets/event-tickets.php',
[1018] Fix | Delete
'wpcourseware' => 'wp-courseware/wp-courseware.php',
[1019] Fix | Delete
'facetwp' => 'facetwp/index.php',
[1020] Fix | Delete
'kadence' => 'kadence-blocks/kadence-blocks.php',
[1021] Fix | Delete
'polylang2' => 'polylang/polylang.php',
[1022] Fix | Delete
'tutor' => 'tutor/tutor.php',
[1023] Fix | Delete
);
[1024] Fix | Delete
foreach ($plugins as $plugin => $active_check) {
[1025] Fix | Delete
if ($active_check === true || ( is_string($active_check) && Themify_Builder_Model::is_plugin_active($active_check) )) {
[1026] Fix | Delete
include( THEMIFY_BUILDER_INCLUDES_DIR . '/plugin-compat/' . $plugin . '.php' );
[1027] Fix | Delete
$classname = "Themify_Builder_Plugin_Compat_{$plugin}";
[1028] Fix | Delete
$classname::init();
[1029] Fix | Delete
}
[1030] Fix | Delete
}
[1031] Fix | Delete
unset($plugins);
[1032] Fix | Delete
}
[1033] Fix | Delete
[1034] Fix | Delete
/**
[1035] Fix | Delete
* Add tooltip to ".tb_$element_id" on frontend
[1036] Fix | Delete
*/
[1037] Fix | Delete
public static function add_tooltip( $builder_id, $element_id, $options ) {
[1038] Fix | Delete
if ( ! isset( self::$tooltips[ $builder_id ] ) ) {
[1039] Fix | Delete
self::$tooltips[ $builder_id ] = array();
[1040] Fix | Delete
}
[1041] Fix | Delete
self::$tooltips[ $builder_id ][ $element_id ] = $options;
[1042] Fix | Delete
}
[1043] Fix | Delete
[1044] Fix | Delete
/**
[1045] Fix | Delete
* Parse Builder settings for a component and add tooltip data
[1046] Fix | Delete
*/
[1047] Fix | Delete
public static function display_tooltip($builder_id, $options, $type) {
[1048] Fix | Delete
if (isset($options['element_id']) && !empty($options['styling']['_tooltip'])) {
[1049] Fix | Delete
$tooltip = [ 't' => esc_html( $options['styling']['_tooltip'] ) ];
[1050] Fix | Delete
if (!empty($options['styling']['_tooltip_bg'])) {
[1051] Fix | Delete
$tooltip['bg'] = Themify_Builder_Stylesheet::get_rgba_color($options['styling']['_tooltip_bg']);
[1052] Fix | Delete
}
[1053] Fix | Delete
if (!empty($options['styling']['_tooltip_w'])) {
[1054] Fix | Delete
$unit = empty($options['styling']['_tooltip_w_unit']) ? 'px' : $options['styling']['_tooltip_w_unit'];
[1055] Fix | Delete
$tooltip['w'] = $options['styling']['_tooltip_w'] . $unit;
[1056] Fix | Delete
}
[1057] Fix | Delete
if (!empty($options['styling']['_tooltip_c'])) {
[1058] Fix | Delete
$tooltip['c'] = Themify_Builder_Stylesheet::get_rgba_color($options['styling']['_tooltip_c']);
[1059] Fix | Delete
}
[1060] Fix | Delete
self::add_tooltip( $builder_id, $options['element_id'], $tooltip );
[1061] Fix | Delete
}
[1062] Fix | Delete
}
[1063] Fix | Delete
[1064] Fix | Delete
[1065] Fix | Delete
/**
[1066] Fix | Delete
* Check whether Dynamic Fields are being rendered atm
[1067] Fix | Delete
*/
[1068] Fix | Delete
public static function is_rendering():bool {
[1069] Fix | Delete
return self::$is_rendering;
[1070] Fix | Delete
}
[1071] Fix | Delete
[1072] Fix | Delete
[1073] Fix | Delete
[1074] Fix | Delete
/**
[1075] Fix | Delete
* Return Builder data for a post
[1076] Fix | Delete
*
[1077] Fix | Delete
* @since 1.4.2
[1078] Fix | Delete
* @return array
[1079] Fix | Delete
*/
[1080] Fix | Delete
public function get_builder_data($post_id) {//deprecated use ThemifyBuilder_Data_Manager
[1081] Fix | Delete
return ThemifyBuilder_Data_Manager::get_data($post_id);
[1082] Fix | Delete
}
[1083] Fix | Delete
[1084] Fix | Delete
/**
[1085] Fix | Delete
* Return all modules for a post as a two-dimensional array
[1086] Fix | Delete
* @deprecated
[1087] Fix | Delete
* @since 1.4.2
[1088] Fix | Delete
* @return array
[1089] Fix | Delete
*/
[1090] Fix | Delete
public function get_flat_modules_list($post_id = null, $builder_data = null, $only_check = false) {//deprecated use get_builder_modules_list
[1091] Fix | Delete
return self::get_builder_modules_list($post_id, $builder_data, $only_check);
[1092] Fix | Delete
}
[1093] Fix | Delete
[1094] Fix | Delete
function get_builder_output(?int $post_id, string $content = ''):?string {//deprecated use render
[1095] Fix | Delete
return self::render($post_id,$content);
[1096] Fix | Delete
}
[1097] Fix | Delete
[1098] Fix | Delete
public static function wpml_load_page_builders_integration() {
[1099] Fix | Delete
include( THEMIFY_BUILDER_INCLUDES_DIR . '/plugin-compat/wpml-translation.php' );
[1100] Fix | Delete
Themify_Builder_WPML_Integration::init();
[1101] Fix | Delete
}
[1102] Fix | Delete
}
[1103] Fix | Delete
[1104] Fix | Delete
[1105] Fix | Delete
endif;
[1106] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function