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.../httpdocs/wp-conte.../plugins/themify-.../themify/plugin-c...
File: tutorlms.php
<?php
[0] Fix | Delete
/**
[1] Fix | Delete
* Themify Compatibility Code
[2] Fix | Delete
*
[3] Fix | Delete
* @package Themify
[4] Fix | Delete
*/
[5] Fix | Delete
[6] Fix | Delete
/**
[7] Fix | Delete
* Tutor LMS
[8] Fix | Delete
* @link https://wordpress.org/plugins/tutor/
[9] Fix | Delete
*/
[10] Fix | Delete
class Themify_Compat_tutorlms {
[11] Fix | Delete
[12] Fix | Delete
static function init() {
[13] Fix | Delete
add_filter( 'template_redirect', array( __CLASS__, 'template_redirect' ) );
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
public static function template_redirect() {
[17] Fix | Delete
if ( is_singular( [ 'lesson', 'courses' ] ) ) {
[18] Fix | Delete
add_filter( 'themify_enable_lazyload', '__return_false' );
[19] Fix | Delete
}
[20] Fix | Delete
}
[21] Fix | Delete
}
[22] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function