I’m pulling some data with the WPDB class in WordPress, however – the data is being retrieved as raw data, without any markup.
How can I automatically add this markup?
I’m pulling some data with the WPDB class in WordPress, however – the data is being retrieved as raw data, without any markup.
How can I automatically add this markup?
You must be logged in to post a comment.
Should be
$text = apply_filters( 'the_content', $text );
รขยย one underscore.Got it ๐
$text = apply___filters('the_content', $text);
See reference at
wp-includes/formatting.php