Hostinger Tools icon
Security

Hostinger Tools hooks reference

  • By Hostinger
  • v3.0.83 New
  • Updated

Hostinger Tools 3.0.83 has 4 actions and 3 filters, read directly from its source code on Nov 17, 2026. The list updates automatically when a new version is released.

How to use these hooks

Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.

functions.phpyour child theme
// Run your own code when Hostinger Tools fires an action
add_action( 'litespeed_purge_all', function() {
	// Your code runs here.
}, 10, 1 );

// Change a value Hostinger Tools is about to use
add_filter( 'hostinger_batch_item_limit', function( $value ) {
	// Change $value here.
	return $value;
}, 10, 1 );

Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.

All hooks

  • includes/Cli/Commands/AI.php line 147 · used in 4 places
    do_action( 'litespeed_purge_all' );
  • includes/Admin/Jobs/AbstractBatchedJob.php line 36 · used in 2 places
    apply_filters( 'hostinger_batch_item_limit', LlmsTxtParser::DEFAULT_LIMIT );
  • includes/Cli/Commands/AI.php line 117 · used in 2 places
    do_action( 'hostinger_tools_settings_saved', $saved_settings->to_array() );
  • includes/ComingSoon.php line 103 · used in 2 places
    do_action( 'litespeed_control_set_nocache', 'Hostinger maintenance mode REST response, not cacheable.' );
  • includes/Cdn/LiteSpeedHooks.php line 31
    apply_filters( 'hostinger_cdn_purge_on_litespeed_purge', true );
  • includes/LlmsTxtGenerator.php line 135
    apply_filters( 'hostinger_llmstext_item_limit', $limit, $post_type );
  • includes/Rest/SettingsRoutes.php line 126
    do_action( "hostinger_tools_setting_{$field_key}_update", $new_settings[ $field_key ] );

Generated from Hostinger Tools's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.

Can't find the right hook?

We can build the customisation for you. Describe what you need: