WordPress action hook · part of WordPress core
atom_entry
A WordPress core action that 5 plugins also fire themselves, running on 820+ sites between them.
“Fires at the end of each Atom feed item.”
How to use atom_entry
It's an action: your callback runs at that point. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'atom_entry', function() {
// Your code runs here.
}, 10, 1 );Argument names come from IssueM's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
This hook is fired by WordPress core too. Official reference on developer.wordpress.org →
5 plugins that fire atom_entry
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
IssueM600+ installs
do_action( 'atom_entry' )feed-templates/feed-atom.php:75 -
IndieBlocks100+ installs
do_action( 'atom_entry' )templates/feed-atom.php:119 -
FT Calendar100+ installs
do_action( 'atom_entry' )includes/feed-atom.php:83 -
Authors as Taxonomy10+ installs
do_action( 'atom_entry' )integration/authors-as-taxonomy/feed-atom.php:80 -
feed-modify-on-your-choice10+ installs
do_action( 'atom_entry' )feedfile/feed-atom.php:49
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.