Home/Hooks/atom_enclosure
FILTER

atom_enclosure

Filters the atom enclosure HTML link tag for the current post.

wp-includes/feed.php
Line 565
1 Parameter
View Source

Usage

add_filter( 'atom_enclosure', 'your_callback_function', 10, 1 );

Filter Callback:

function your_callback_function( $html_link_tag ) {
    // Your code here
    return $html_link_tag;
}

Parameters

$html_link_tag

Parameter 1

🔄 Filter Hook

Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.