views:

58

answers:

2

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?

A: 

Got it :)

$text = apply___filters('the_content', $text);

See reference at wp-includes/formatting.php

konzepz
+1  A: 

Should be $text = apply_filters( 'the_content', $text ); — one underscore.

Mark Jaquith