How to show meta value code HTML after x paragraph
The purpose of echo is sending strings to the output buffer. In your code you are concatenating the result of 4 to the result of the call to echo, which returns nothing. Also, get_post_meta already returns a string so you don’t have to do the type cast. Try: add_filter( ‘the_content’, ‘prefix_insert_post’ ); function prefix_insert_post( $content … Read more