kk Star Ratings 5.4.10.5 has 5 actions and 7 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.
// Run your own code when kk Star Ratings fires an action
add_action( 'upgrader_process_complete', function( $object, $options ) {
// Your code runs here.
}, 10, 2 );
// Change a value kk Star Ratings is about to use
add_filter( 'upgrader_clear_destination', function( $removed, $local_destination, $remote_destination, $args ) {
// Change $removed here.
return $removed;
}, 10, 4 );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
-
upgrader_clear_destination
filter/** * Filter whether the upgrader cleared the destination. */ apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] ); -
upgrader_package_options
filter/** * Filter the package options before running an update. */ apply_filters( 'upgrader_package_options', $options ); -
upgrader_post_install
filter/** * Filter the installation response after the installation has finished. */ apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result ); -
upgrader_pre_download
filter/** * Filters whether to return the package. */ apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra ); -
upgrader_pre_install
filter/** * Filter the install response before the installation has started. */ apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] ); -
upgrader_process_complete
action/** * Fire when the upgrader process is complete. */ do_action( 'upgrader_process_complete', $this, $options['hook_extra'] ); -
upgrader_source_selection
filter/** * Filter the source file location for the upgrade package. */ apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] ); -
kksr_freemius_loaded
actiondo_action( 'kksr_freemius_loaded' ); -
kksr_rate
actiondo_action( 'kksr_rate', $id, $outOf5, $fingerprint ); -
kksr_vote
actiondo_action( 'kksr_vote', $outOf5, 5, $id, $legacySlug, $fingerprint ); -
loginwp_plugin_installed
actiondo_action( 'loginwp_plugin_installed', $package ); -
plugin_locale
filterapply_filters( 'plugin_locale', determine_locale(), $domain );
Generated from kk Star Ratings'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: