install_plugin_overwrite_comparison

install_plugin_overwrite_comparison

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('install_plugin_overwrite_comparison') is found 1 times:

  • /wp-admin/includes/class-plugin-installer-skin.php line 260
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    * @param string $table               The output table with Name, Version, Author, RequiresWP, and RequiresPHP info.
     * @param array  $current_plugin_data Array with current plugin data.
     * @param array  $new_plugin_data     Array with uploaded plugin data.
     */
    echo apply_filters( 'install_plugin_overwrite_comparison', $table, $current_plugin_data, $new_plugin_data );
     
    $install_actions = array();
    $can_update      = true;
     
    $blocked_message  = '<p>' . esc_html__( 'The plugin cannot be updated due to the following:' ) . '</p>';
    $blocked_message .= '<ul class="ul-disc">';

See this hook used in plugins: