: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
defined('ABSPATH') || exit;
* Module Name: Overlay Content
* Description: Overlay Content Module
class TB_Overlay_Content_Module extends Themify_Builder_Component_Module {
public static function get_module_name():string {
return __('Overlay Content', 'themify');
public static function get_module_icon():string {
public static function get_js_css():array {
public static function get_styling_image_fields() : array {
'background_image' => '',
'ctr_b_i' => [ ' .tb_oc_overlay', ' .tb_overlay_content_lp' ]
public static function get_static_content(array $module):string {
return ''; // no static content for dynamic content
public static function get_translatable_text_fields( $module ) : array {