WordPress action hook
redux/ajax/heartbeat
Fired by 40 WordPress plugins, running on 987K+ sites between them.
How to use redux/ajax/heartbeat
It's an action: your callback runs at that point and receives 1 argument. Nothing needs to be returned.
Add this to your theme's functions.php or a small custom plugin:
add_action( 'redux/ajax/heartbeat', function( $object ) {
// Your code runs here.
}, 10, 1 );Argument names come from AMP for WP's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
40 plugins that fire redux/ajax/heartbeat
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
Redux Framework900,000+ installs
do_action( 'redux/ajax/heartbeat' )redux-core/class-redux-core.php:625 -
AMP for WP70,000+ installs
do_action( 'redux/ajax/heartbeat', $this )includes/options/redux-core/framework.php:209 -
QuadMenu10,000+ installs
do_action( 'redux/ajax/heartbeat', $this )redux/ReduxCore/framework.php:216 -
Worth The Read3,000+ installs
do_action( 'redux/ajax/heartbeat' )options/class-redux-core.php:537 -
Slick Popup: Contact Form 7 Popup Plugin1,000+ installs
do_action( 'redux/ajax/heartbeat' )libs/admin/redux-framework/redux-core/class-redux-core.php:537 -
Admin Tweaks800+ installs
do_action( 'redux/ajax/heartbeat' )inc/redux-core/class-redux-core.php:597 -
DirectoryPress600+ installs
do_action( 'redux/ajax/heartbeat' )admin/redux-core/class-redux-core.php:520 -
Cryptocurrency Payment Gateway300+ installs
do_action( 'redux/ajax/heartbeat' )admin/redux-framework/class-redux-core.php:597 -
Web Directory plugin Free300+ installs
do_action( 'redux/ajax/heartbeat' )core/redux/core/class-redux-core.php:625 -
Restrictions for BuddyPress300+ installs
do_action( 'redux/ajax/heartbeat' )includes/options/class-redux-core.php:600 -
Embed Video Thumbnail200+ installs
do_action( 'redux/ajax/heartbeat', $this )admin/redux-framework/framework.php:199 -
Dima Take Action200+ installs
do_action( 'redux/ajax/heartbeat', $this )admin/redux-framework/ReduxCore/framework.php:199 -
Pollen100+ installs
do_action( 'redux/ajax/heartbeat', $this )includes/options/core/framework.php:201 -
Preloader for Divi100+ installs
do_action( 'redux/ajax/heartbeat', $this )divipreloader_options/framework.php:201 -
Stylish Links100+ installs
do_action( 'redux/ajax/heartbeat', $this )options/framework.php:199 -
C4D Plugin Manager100+ installs
do_action( 'redux/ajax/heartbeat' )redux-framework/redux-core/class-redux-core.php:625 -
Visualmodo Related Posts100+ installs
do_action( 'redux/ajax/heartbeat', $this )includes/options/core/framework.php:201 -
Night Mode for WordPress70+ installs
do_action( 'redux/ajax/heartbeat', $this )inc/redux-framework/ReduxCore/framework.php:201 -
All in one Avada Addons40+ installs
do_action( 'redux/ajax/heartbeat' )inc/aio-redux-core/class-redux-core.php:468 -
TC Ecommerce30+ installs
do_action( 'redux/ajax/heartbeat' )framework/class-redux-core.php:597 -
Workshop Butler20+ installs
do_action( 'redux/ajax/heartbeat', $this )lib/ReduxFramework/ReduxCore/framework.php:198 -
EmBe Core20+ installs
do_action( 'redux/ajax/heartbeat', $this )inc/redux/framework.php:199 -
Disable Back Button10+ installs
do_action( 'redux/ajax/heartbeat', $this )admin/redux-framework/framework.php:199 -
Ultimate AMP10+ installs
do_action( 'redux/ajax/heartbeat', $this )inc/admin/redux-core/framework.php:199 -
Dashboard Quick Actions10+ installs
do_action( 'redux/ajax/heartbeat', $this )assets/admin/redux-framework/framework.php:199 -
Floating Icons10+ installs
do_action( 'redux/ajax/heartbeat' )adminside/admin/redux-framework/redux-core/class-redux-core.php:537 -
Awesome Arrow Nav10+ installs
do_action( 'redux/ajax/heartbeat', $this )admin/ReduxCore/framework.php:204 -
My Center Portal10+ installs
do_action( 'redux/ajax/heartbeat' )inc/redux-core/class-redux-core.php:458 -
Variation image color switches for woocommerce10+ installs
do_action( 'redux/ajax/heartbeat', $this )include/redux-framework/ReduxCore/framework.php:201 -
WP Total Branding10+ installs
do_action( 'redux/ajax/heartbeat' )includes/libs/redux-core/class-redux-core.php:520 -
Coming Soon Viral Page by Growtheme10+ installs
do_action( 'redux/ajax/heartbeat', $this )admin/ReduxCore/framework.php:199 -
Lenxel AI LMSFewer than 10 installs
do_action( 'redux/ajax/heartbeat' )redux/redux-framework/class-redux-core.php:597 -
Sophia Twitter Auto PostFewer than 10 installs
do_action( 'redux/ajax/heartbeat', $this )admin/redux-framework/framework.php:199 -
SPEC Theme OptionsFewer than 10 installs
do_action( 'redux/ajax/heartbeat' )extensions/redux/ReduxCore/class-redux-core.php:395 -
BatilFewer than 10 installs
do_action( 'redux/ajax/heartbeat', $this )inc/redux-framework/ReduxCore/framework.php:201 -
Compare Your IncomeFewer than 10 installs
do_action( 'redux/ajax/heartbeat', $this )optionpanel/ReduxCore/framework.php:201 -
Click BlazeFewer than 10 installs
do_action( 'redux/ajax/heartbeat', $this )inc/framework.php:199 -
WoptificationsFewer than 10 installs
do_action( 'redux/ajax/heartbeat', $this )admin/redux-framework/framework.php:199 -
ADEC (Advance Dynamic E-Commerce)Fewer than 10 installs
do_action( 'redux/ajax/heartbeat', $this )redux-framework/ReduxCore/framework.php:183 -
Saksh WP Hotel Booking LiteFewer than 10 installs
do_action( 'redux/ajax/heartbeat' )redux-framework/redux-core/class-redux-core.php:520
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.