json - Wordpress Restful Api without html tags -


i have json api plugin installed on wordpress installation, when output restful api, there <p> tags , other html in there example, in app will:

a line <p>hello world</p> not hello world (without html tags)

does know why , how can fixed?

you can try removing filter wpautop content on site. -- assuming "hello world" part of content, , don't mind removing <p> tags everywhere content served.

remove_filter ('the_content',  'wpautop'); 

here more documentation on wpautop https://codex.wordpress.org/function_reference/wpautop


Comments

Popular posts from this blog

xslt - Substring before throwing error -

Google Cloud Bigtable Durability/Availability Guarantees -

Android M doze mode and "native" posix socket freezing up -