WordPress action hook
litespeed_tag_add
Fired by 16 WordPress plugins, running on 7.1M+ sites between them.
How to use litespeed_tag_add
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( 'litespeed_tag_add', function( $tags ) {
// Your code runs here.
}, 10, 1 );Argument names come from IndiaTVDNA Turbo Cache's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
16 plugins that fire litespeed_tag_add
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
LiteSpeed Cache7+ million installs
do_action( 'litespeed_tag_add', $tag . $id )thirdparty/nextgengallery.cls.php:222 -
Ninja Tables70,000+ installs
do_action( 'litespeed_tag_add', 'ninja_tables_light_speed_clear_cache' )app/Hooks/Handlers/PublicDataHandler.php:96 -
WP Social Ninja30,000+ installs
do_action( 'litespeed_tag_add', 'wpsn_purge_twitter_feed' )app/Hooks/Handlers/ShortcodeHandler.php:464 -
Custom Feed for TikTok1,000+ installs
do_action( 'litespeed_tag_add', 'wpsn_purge_tiktok' )app/Hooks/Handlers/ShortcodeHandler.php:27 -
Verowa Connect100+ installs
do_action( 'litespeed_tag_add', $arr_verowa_shortcodes[ $int_key ] )includes/cache/class-litespeed-cache.php:126 -
Bit Connect100+ installs
do_action( 'litespeed_tag_add', self::TAG )backend/app/Services/PageCache.php:269 -
PetPress70+ installs
do_action( 'litespeed_tag_add', self::LITESPEED_TAG )pp-CachePurge.php:20 -
WP Blast20+ installs
do_action( 'litespeed_tag_add', 'wpblast_crawler' )inc/third-party/litespeed-cache/litespeed-cache-functions.php:15 -
AOO ShopFewer than 10 installs
do_action( 'litespeed_tag_add', self::LS_TAG )includes/class-host-cache.php:79 -
IndiaTVDNA Turbo CacheFewer than 10 installs
do_action( 'litespeed_tag_add', $tags )includes/class-itdna-litespeed-integration.php:223 -
Yatoon Social FeedFewer than 10 installs
do_action( 'litespeed_tag_add', self::TAG )includes/class-cache.php:16 -
Amitry Job BoardFewer than 10 installs
do_action( 'litespeed_tag_add', self::TAG )includes/class-amjobs-cache.php:121 -
EstudoBiblico Bíblia DigitalFewer than 10 installs
do_action( 'litespeed_tag_add', $tags )includes/class-bdwp70-plugin.php:814 -
SwirvFewer than 10 installs
do_action( 'litespeed_tag_add', 'swirv' )includes/RedirectHandler.php:879 -
LinkmoraFewer than 10 installs
do_action( 'litespeed_tag_add', 'linkmora' )includes/widgets/functions.php:273 -
CliedeskFewer than 10 installs
do_action( 'litespeed_tag_add', self::TAG )src/Infrastructure/Http/NoCache.php:98
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.