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-.../modules
File: module-code.php
<?php
[0] Fix | Delete
defined('ABSPATH') || exit;
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* Module Name: Code
[4] Fix | Delete
* Description: Display formatted code
[5] Fix | Delete
*/
[6] Fix | Delete
class TB_Code_Module extends Themify_Builder_Component_Module {
[7] Fix | Delete
[8] Fix | Delete
public static function get_module_name():string {
[9] Fix | Delete
return __('Code', 'themify');
[10] Fix | Delete
}
[11] Fix | Delete
[12] Fix | Delete
public static function get_module_icon():string {
[13] Fix | Delete
return 'notepad';
[14] Fix | Delete
}
[15] Fix | Delete
[16] Fix | Delete
public static function get_js_css():array {
[17] Fix | Delete
return array(
[18] Fix | Delete
'async' => true,
[19] Fix | Delete
'css' => 1,
[20] Fix | Delete
'js' => 1
[21] Fix | Delete
);
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
public static function get_translatable_text_fields( $module ) : array {
[25] Fix | Delete
return [ 'm_t' ];
[26] Fix | Delete
}
[27] Fix | Delete
}
[28] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function