kk Star Ratings icon
Forms

kk Star Ratings hooks reference

  • By properfraction
  • v5.4.10.5
  • Updated

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.

functions.phpyour child theme
// 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

  • lib/Installer/KKStar_PluginSilentUpgrader.php line 509
    /**
     * Filter whether the upgrader cleared the destination.
     */
    apply_filters( 'upgrader_clear_destination', $removed, $local_destination, $remote_destination, $args['hook_extra'] );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 93
    /**
     * Filter the package options before running an update.
     */
    apply_filters( 'upgrader_package_options', $options );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 558
    /**
     * Filter the installation response after the installation has finished.
     */
    apply_filters( 'upgrader_post_install', true, $args['hook_extra'], $this->result );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 285
    /**
     * Filters whether to return the package.
     */
    apply_filters( 'upgrader_pre_download', false, $package, $this, $hook_extra );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 433
    /**
     * Filter the install response before the installation has started.
     */
    apply_filters( 'upgrader_pre_install', true, $args['hook_extra'] );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 225
    /**
     * Fire when the upgrader process is complete.
     */
    do_action( 'upgrader_process_complete', $this, $options['hook_extra'] );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 466
    /**
     * Filter the source file location for the upgrade package.
     */
    apply_filters( 'upgrader_source_selection', $source, $remote_source, $this, $args['hook_extra'] );
  • freemius.php line 39
    do_action( 'kksr_freemius_loaded' );
  • kksr_rate

    action
    src/core/actions/save.php line 71
    do_action( 'kksr_rate', $id, $outOf5, $fingerprint );
  • kksr_vote

    action
    src/core/actions/save.php line 77
    do_action( 'kksr_vote', $outOf5, 5, $id, $legacySlug, $fingerprint );
  • lib/Installer/KKStar_PluginSilentUpgrader.php line 581
    do_action( 'loginwp_plugin_installed', $package );
  • plugin_locale

    filter
    src/core/wp/filters/load_textdomain_mofile.php line 25
    apply_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: