Technical Docs

Search Documentation

Function: tribe_multi_line_remove_empty_lines

helper function to remove empty lines from multi-line strings

Located at src/functions/template-tags/general.php (Line: 148)

Parameters summary

(string) $multi_line_string a multiline string

Return value summary

(string) the same string without empty lines

Examples

string tribe_multi_line_remove_empty_lines ( string $multi_line_string )