Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Allow extra tags in content on archive pages
<?php
add_filter( 'get_the_content_limit_allowedtags', 'ehr_content_limit_allowed_tags' );
function ehr_content_limit_allowed_tags($tags) {
$tags .= '<a>';
return $tags;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.