Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Allow extra tags in content on archive pages
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.