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-testimonial-slider.php
<?php
[0] Fix | Delete
defined('ABSPATH') || exit;
[1] Fix | Delete
[2] Fix | Delete
/**
[3] Fix | Delete
* Module Name: Testimonials
[4] Fix | Delete
* Description: Display testimonial custom post type
[5] Fix | Delete
*/
[6] Fix | Delete
class TB_Testimonial_Slider_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 __('Testimonials', 'themify');
[11] Fix | Delete
}
[12] Fix | Delete
[13] Fix | Delete
public static function get_js_css():array {
[14] Fix | Delete
return array(
[15] Fix | Delete
'css' => 1,
[16] Fix | Delete
'async' => 1
[17] Fix | Delete
);
[18] Fix | Delete
}
[19] Fix | Delete
[20] Fix | Delete
public static function get_module_icon():string {
[21] Fix | Delete
return 'clipboard';
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
public static function get_translatable_text_fields( $module ) : array {
[25] Fix | Delete
return [ 'mod_title_testimonial' ];
[26] Fix | Delete
}
[27] Fix | Delete
[28] Fix | Delete
public static function get_translatable_repeatable_fields( $module ) {
[29] Fix | Delete
return [
[30] Fix | Delete
'tab_content_testimonial' => [
[31] Fix | Delete
'title_testimonial' => 'LINE',
[32] Fix | Delete
'content_testimonial' => 'TEXTAREA',
[33] Fix | Delete
'person_picture_testimonial' => 'LINK',
[34] Fix | Delete
'person_name_testimonial' => 'LINE',
[35] Fix | Delete
'person_position_testimonial' => 'LINE',
[36] Fix | Delete
'company_testimonial' => 'LINE',
[37] Fix | Delete
'company_website_testimonial' => 'LINE'
[38] Fix | Delete
]
[39] Fix | Delete
];
[40] Fix | Delete
}
[41] Fix | Delete
}
[42] Fix | Delete
[43] Fix | Delete
[44] Fix | Delete
[45] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function