woocommerce_plugins_install_error

woocommerce_plugins_install_error

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_plugins_install_error') is found 1 times:

  • /src/Admin/PluginsHelper.php line 344
    				 * @param Plugin_Upgrader $upgrader The plugin upgrader.
    				 *
    				 * @since 6.4.0
    				 */
    				do_action( 'woocommerce_plugins_install_error', $slug, $api, $result, $upgrader );
    
    				$install_error_message = sprintf(
    				/* translators: %s: plugin slug (example: woocommerce-services) */
    					__( 'The requested plugin `%s` could not be installed. Upgrader install failed.', 'woocommerce' ),
    					$slug
    				);
    

See this hook used in plugins: