: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
defined('ABSPATH') || exit;
* Description: Display text content
class TB_Text_Module extends Themify_Builder_Component_Module {
public static function get_module_name():string {
return __('Text', 'themify');
public static function get_js_css():array {
public static function get_styling_image_fields() : array {
public static function get_translatable_text_fields( $module ) : array {
return [ 'mod_title_text' ];
public static function get_translatable_textarea_fields( $module ) : array {
return [ 'content_text' ];