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.../wp-conte.../plugins/themify-.../modules
File: module-link-block.php
<?php
[0] Fix | Delete
if (!defined('ABSPATH'))
[1] Fix | Delete
exit; // Exit if accessed directly
[2] Fix | Delete
[3] Fix | Delete
/**
[4] Fix | Delete
* Module Name: Link
[5] Fix | Delete
* Description: Display Link
[6] Fix | Delete
*/
[7] Fix | Delete
class TB_Link_Block_Module extends Themify_Builder_Component_Module {
[8] Fix | Delete
[9] Fix | Delete
[10] Fix | Delete
public static function get_module_name():string {
[11] Fix | Delete
return __('Link Block', 'themify');
[12] Fix | Delete
}
[13] Fix | Delete
[14] Fix | Delete
public static function get_module_icon():string {
[15] Fix | Delete
return 'link';
[16] Fix | Delete
}
[17] Fix | Delete
[18] Fix | Delete
public static function get_js_css():array {
[19] Fix | Delete
return array(
[20] Fix | Delete
'css' => 1
[21] Fix | Delete
);
[22] Fix | Delete
}
[23] Fix | Delete
[24] Fix | Delete
public static function get_styling_image_fields() : array {
[25] Fix | Delete
return [
[26] Fix | Delete
'background_image' => ' .tb_link_block_container'
[27] Fix | Delete
];
[28] Fix | Delete
}
[29] Fix | Delete
[30] Fix | Delete
public static function get_static_content(array $module):string {
[31] Fix | Delete
return ''; // no static content for dynamic content
[32] Fix | Delete
}
[33] Fix | Delete
[34] Fix | Delete
public static function get_translatable_text_fields( $module ) : array {
[35] Fix | Delete
return [ 'heading', 'title' ];
[36] Fix | Delete
}
[37] Fix | Delete
[38] Fix | Delete
public static function get_translatable_textarea_fields( $module ) : array {
[39] Fix | Delete
return [ 'blurb' ];
[40] Fix | Delete
}
[41] Fix | Delete
[42] Fix | Delete
public static function get_translatable_link_fields( $module ) : array {
[43] Fix | Delete
return [ 'image', 'link' ];
[44] Fix | Delete
}
[45] Fix | Delete
}
[46] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function