Created
April 30, 2024 09:13
-
-
Save patrickposner/a5f1e2b73070f96b7902b960d3f25892 to your computer and use it in GitHub Desktop.
Replace URLs in atom elements
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'ss_match_tags', function ( $match_tags ) { | |
$match_tags['atom'] = array( 'href' ); | |
return $match_tags; | |
} ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment