You have a LaTex plugin? It probably filters “the_content”. Try
return apply_filters( 'the_content', '$\frac{15}{5} = 3$' );
You have a LaTex plugin? It probably filters “the_content”. Try
return apply_filters( 'the_content', '$\frac{15}{5} = 3$' );