/ Published in: PHP
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
// delete enclosures of media files in feeds add_filter( 'get_enclosed', 'delete_enclosure' ); add_filter( 'rss_enclosure', 'delete_enclosure' ); add_filter( 'atom_enclosure', 'delete_enclosure' ); function delete_enclosure() { return ''; }