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:

functions.php
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.

  1. Redux Framework icon Redux Framework900,000+ installs do_action( 'redux/ajax/heartbeat' ) redux-core/class-redux-core.php:625
  2. AMP for WP icon AMP for WP70,000+ installs do_action( 'redux/ajax/heartbeat', $this ) includes/options/redux-core/framework.php:209
  3. QuadMenu icon QuadMenu10,000+ installs do_action( 'redux/ajax/heartbeat', $this ) redux/ReduxCore/framework.php:216
  4. Worth The Read icon Worth The Read3,000+ installs do_action( 'redux/ajax/heartbeat' ) options/class-redux-core.php:537
  5. Slick Popup: Contact Form 7 Popup Plugin icon 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
  6. Admin Tweaks icon Admin Tweaks800+ installs do_action( 'redux/ajax/heartbeat' ) inc/redux-core/class-redux-core.php:597
  7. DirectoryPress icon DirectoryPress600+ installs do_action( 'redux/ajax/heartbeat' ) admin/redux-core/class-redux-core.php:520
  8. Cryptocurrency Payment Gateway icon Cryptocurrency Payment Gateway300+ installs do_action( 'redux/ajax/heartbeat' ) admin/redux-framework/class-redux-core.php:597
  9. Web Directory plugin Free icon Web Directory plugin Free300+ installs do_action( 'redux/ajax/heartbeat' ) core/redux/core/class-redux-core.php:625
  10. Restrictions for BuddyPress icon Restrictions for BuddyPress300+ installs do_action( 'redux/ajax/heartbeat' ) includes/options/class-redux-core.php:600
  11. Embed Video Thumbnail icon Embed Video Thumbnail200+ installs do_action( 'redux/ajax/heartbeat', $this ) admin/redux-framework/framework.php:199
  12. Dima Take Action icon Dima Take Action200+ installs do_action( 'redux/ajax/heartbeat', $this ) admin/redux-framework/ReduxCore/framework.php:199
  13. Pollen icon Pollen100+ installs do_action( 'redux/ajax/heartbeat', $this ) includes/options/core/framework.php:201
  14. Preloader for Divi icon Preloader for Divi100+ installs do_action( 'redux/ajax/heartbeat', $this ) divipreloader_options/framework.php:201
  15. Stylish Links icon Stylish Links100+ installs do_action( 'redux/ajax/heartbeat', $this ) options/framework.php:199
  16. C4D Plugin Manager icon C4D Plugin Manager100+ installs do_action( 'redux/ajax/heartbeat' ) redux-framework/redux-core/class-redux-core.php:625
  17. Visualmodo Related Posts icon Visualmodo Related Posts100+ installs do_action( 'redux/ajax/heartbeat', $this ) includes/options/core/framework.php:201
  18. Night Mode for WordPress icon Night Mode for WordPress70+ installs do_action( 'redux/ajax/heartbeat', $this ) inc/redux-framework/ReduxCore/framework.php:201
  19. All in one Avada Addons icon All in one Avada Addons40+ installs do_action( 'redux/ajax/heartbeat' ) inc/aio-redux-core/class-redux-core.php:468
  20. TC Ecommerce icon TC Ecommerce30+ installs do_action( 'redux/ajax/heartbeat' ) framework/class-redux-core.php:597
  21. Workshop Butler icon Workshop Butler20+ installs do_action( 'redux/ajax/heartbeat', $this ) lib/ReduxFramework/ReduxCore/framework.php:198
  22. EmBe Core icon EmBe Core20+ installs do_action( 'redux/ajax/heartbeat', $this ) inc/redux/framework.php:199
  23. Disable Back Button icon Disable Back Button10+ installs do_action( 'redux/ajax/heartbeat', $this ) admin/redux-framework/framework.php:199
  24. Ultimate AMP icon Ultimate AMP10+ installs do_action( 'redux/ajax/heartbeat', $this ) inc/admin/redux-core/framework.php:199
  25. Dashboard Quick Actions icon Dashboard Quick Actions10+ installs do_action( 'redux/ajax/heartbeat', $this ) assets/admin/redux-framework/framework.php:199
  26. Floating Icons icon Floating Icons10+ installs do_action( 'redux/ajax/heartbeat' ) adminside/admin/redux-framework/redux-core/class-redux-core.php:537
  27. Awesome Arrow Nav icon Awesome Arrow Nav10+ installs do_action( 'redux/ajax/heartbeat', $this ) admin/ReduxCore/framework.php:204
  28. My Center Portal icon My Center Portal10+ installs do_action( 'redux/ajax/heartbeat' ) inc/redux-core/class-redux-core.php:458
  29. Variation image color switches for woocommerce icon Variation image color switches for woocommerce10+ installs do_action( 'redux/ajax/heartbeat', $this ) include/redux-framework/ReduxCore/framework.php:201
  30. WP Total Branding icon WP Total Branding10+ installs do_action( 'redux/ajax/heartbeat' ) includes/libs/redux-core/class-redux-core.php:520
  31. Coming Soon Viral Page by Growtheme icon Coming Soon Viral Page by Growtheme10+ installs do_action( 'redux/ajax/heartbeat', $this ) admin/ReduxCore/framework.php:199
  32. Lenxel AI LMS icon Lenxel AI LMSFewer than 10 installs do_action( 'redux/ajax/heartbeat' ) redux/redux-framework/class-redux-core.php:597
  33. Sophia Twitter Auto Post icon Sophia Twitter Auto PostFewer than 10 installs do_action( 'redux/ajax/heartbeat', $this ) admin/redux-framework/framework.php:199
  34. SPEC Theme Options icon SPEC Theme OptionsFewer than 10 installs do_action( 'redux/ajax/heartbeat' ) extensions/redux/ReduxCore/class-redux-core.php:395
  35. Batil icon BatilFewer than 10 installs do_action( 'redux/ajax/heartbeat', $this ) inc/redux-framework/ReduxCore/framework.php:201
  36. Compare Your Income icon Compare Your IncomeFewer than 10 installs do_action( 'redux/ajax/heartbeat', $this ) optionpanel/ReduxCore/framework.php:201
  37. Click Blaze icon Click BlazeFewer than 10 installs do_action( 'redux/ajax/heartbeat', $this ) inc/framework.php:199
  38. Woptifications icon WoptificationsFewer than 10 installs do_action( 'redux/ajax/heartbeat', $this ) admin/redux-framework/framework.php:199
  39. ADEC (Advance Dynamic E-Commerce) icon ADEC (Advance Dynamic E-Commerce)Fewer than 10 installs do_action( 'redux/ajax/heartbeat', $this ) redux-framework/ReduxCore/framework.php:183
  40. Saksh WP Hotel Booking Lite icon 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.