woo_com_base_url filter-hookWC 8.7.0

Filter the base URL used to install the Woo hosted plugins.

Usage

add_filter( 'woo_com_base_url', 'wp_kama_woo_com_base_url_filter' );

/**
 * Function for `woo_com_base_url` filter-hook.
 * 
 * @param  $url 
 *
 * @return 
 */
function wp_kama_woo_com_base_url_filter( $url ){

	// filter...
	return $url;
}
$url
-

Changelog

Since 8.7.0 Introduced.

Where the hook is called

WC_Helper::get_install_base_url()
woo_com_base_url
woocommerce/includes/admin/helper/class-wc-helper.php 2260
$woo_com_base_url = apply_filters( 'woo_com_base_url', 'https://woocommerce.com/' );

Where the hook is used in WooCommerce

Usage not found.