Remove from

try this add_filter( ‘the_content’, ‘remove_paragraphs_inside_blockquotes’, 9 ); function remove_paragraphs_inside_blockquotes( $content ) { $dom = new DOMDocument(); libxml_use_internal_errors(true); $dom->loadHTML(‘<?xml encoding=”utf-8″ ?>’ . $content, LIBXML_HTML_NODEFDTD | LIBXML_HTML_NOIMPLIED); libxml_clear_errors(); $blockquotes = $dom->getElementsByTagName(‘blockquote’); foreach ( $blockquotes as $blockquote ) { foreach ( $blockquote->childNodes as $child ) { if ( $child->nodeName === ‘p’ ) { while ( $child->firstChild ) { … Read more

rest_cannot_update error

The status code 403 (Forbidden) in the response suggests that your request is not properly authenticated. You could start by reviewing the REST API handbook section on Authentication, in case there’s something you may have missed, and double-checking the credentials, if any, you’re using with to make the request. You can also pass auth_callback as … Read more