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-plain-text.php
<?php
[0] Fix | Delete
defined('ABSPATH') || exit;
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* Module Name: HTML / Text / Shortcode
[4] Fix | Delete
* Description: Display plain text
[5] Fix | Delete
*/
[6] Fix | Delete
class TB_Plain_Text_Module extends Themify_Builder_Component_Module {
[7] Fix | Delete
[8] Fix | Delete
[9] Fix | Delete
public static function get_module_name():string {
[10] Fix | Delete
return __('HTML / Text / Shortcode', 'themify');
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
public static function get_module_icon():string {
[14] Fix | Delete
return 'text';
[15] Fix | Delete
}
[16] Fix | Delete
[17] Fix | Delete
public static function get_styling_image_fields() : array {
[18] Fix | Delete
return [
[19] Fix | Delete
'background_image' => ''
[20] Fix | Delete
];
[21] Fix | Delete
}
[22] Fix | Delete
[23] Fix | Delete
public static function get_translatable_text_fields( $module ) : array {
[24] Fix | Delete
return [ 'plain_text' ];
[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