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
/home/sportsfe.../public_h.../clone/wp-conte.../plugins/themify-.../includes/plugin-c...
File: wpcourseware.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Builder Plugin Compatibility Code
[2] Fix | Delete
*
[3] Fix | Delete
* @package Themify_Builder
[4] Fix | Delete
* @subpackage Themify_Builder/classes
[5] Fix | Delete
*/
[6] Fix | Delete
[7] Fix | Delete
/**
[8] Fix | Delete
* WP Courseware
[9] Fix | Delete
* @link https://flyplugins.com/wp-courseware/
[10] Fix | Delete
*/
[11] Fix | Delete
class Themify_Builder_Plugin_Compat_wpcourseware {
[12] Fix | Delete
[13] Fix | Delete
static function init() {
[14] Fix | Delete
add_action( 'wpcw_unit_after_single_content', array( __CLASS__, 'disbale_builder_content' ) );
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
public static function disbale_builder_content():void {
[18] Fix | Delete
remove_filter( 'the_content', array( 'Themify_Builder', 'builder_show_on_front' ), 11 );
[19] Fix | Delete
add_action('themify_after_post_content',array( __CLASS__, 'enable_builder_content' ),1);
[20] Fix | Delete
}
[21] Fix | Delete
[22] Fix | Delete
public static function enable_builder_content():void {
[23] Fix | Delete
remove_action('themify_after_post_content',array( __CLASS__, 'enable_builder_content' ),1);
[24] Fix | Delete
add_filter( 'the_content', array( 'Themify_Builder', 'builder_show_on_front' ), 11 );
[25] Fix | Delete
}
[26] Fix | Delete
}
[27] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function