woocommerce_plugins_install_api_error

woocommerce_plugins_install_api_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_api_error') is found 1 times:

  • /src/Admin/PluginsHelper.php line 296
    				 * @param WP_Error $api The API response.
    				 *
    				 * @since 6.4.0
    				 */
    				do_action( 'woocommerce_plugins_install_api_error', $slug, $api );
    
    				$error_message = sprintf(
    				/* translators: %s: plugin slug (example: woocommerce-services) */
    					__( 'The requested plugin `%s` could not be installed. Plugin API call failed.', 'woocommerce' ),
    					$slug
    				);
    

See this hook used in plugins:

woocommerce_plugins_install_api_error - WordPress Hooks

woocommerce_plugins_install_api_error

woocommerce_plugins_install_api_error

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.6.4.1

do_action('woocommerce_plugins_install_api_error') is found 1 times:

  • /packages/woocommerce-admin/src/PluginsHelper.php line 202
    					'slug'          => $slug,
    				);
    				wc_admin_record_tracks_event( 'install_plugin_error', $properties );
    
    				do_action( 'woocommerce_plugins_install_api_error', $slug, $api );
    
    				$errors->add(
    					$plugin,
    					sprintf(
    						/* translators: %s: plugin slug (example: woocommerce-services) */
    						__( 'The requested plugin `%s` could not be installed. Plugin API call failed.', 'woocommerce' ),