Not able to pass HTML entities in post meta
-
Hi,
How to pass HTML entities in post meta tags. Actually I have created a custom meta in post area with
wp_editor(get_post_meta( $post->ID, ‘summary’, true ),’summary’);
or
$summary=get_post_meta( $post->ID, ‘summary’, true );
wp_editor($summary,’summary’);and I tried with html_entity_decode() also. But HTML entities are not working.
I can able to save the text in wp_editor but not style.
- The topic ‘Not able to pass HTML entities in post meta’ is closed to new replies.