woocommerce_apidocs_url filter-hookWC 2.2.0

The WooCommerce API documentation URL.

Usage

add_filter( 'woocommerce_apidocs_url', 'wp_kama_woocommerce_apidocs_url_filter' );

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

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

Changelog

Since 2.2.0 Introduced.

Where the hook is called

WC_Install::plugin_row_meta()
woocommerce_apidocs_url
woocommerce/includes/class-wc-install.php 2137
$api_docs_url = apply_filters( 'woocommerce_apidocs_url', 'https://woocommerce.com/wc-apidocs/' );

Where the hook is used in WooCommerce

Usage not found.