Converting the comment to an answer,
please rename your Shortcode to not contain spaces (new_line
):
function my_line_break() {
return "<br>";
}
add_shortcode( 'new_line', 'my_line_break' );
Converting the comment to an answer,
please rename your Shortcode to not contain spaces (new_line
):
function my_line_break() {
return "<br>";
}
add_shortcode( 'new_line', 'my_line_break' );