Add filter ‘wpautop’ to meta box textarea

Add a function that grabs your meta data, applies wpautop and echoes it out, or otherwise run it through when you output it in your template.

$my_meta = get_post_meta($post->ID,'_my_meta',TRUE);
echo $my_meta['name'];
echo wpautop( $my_meta['description'], 1 );

Leave a Comment