WordPress at Your Fingertips
function is not described

WC_Product_External::get_product_url() public WC 1.0

Get product url.

{} It's a method of the class: WC_Product_External{}

No Hooks.

Return

String.

Usage

$WC_Product_External = new WC_Product_External();
$WC_Product_External->get_product_url( $context );
$context(string)
What the value is for. Valid values are 'view' and 'edit'.
Default: 'view'

Code of WC_Product_External::get_product_url() WC 5.8.0

public function get_product_url( $context = 'view' ) {
	return esc_url_raw( $this->get_prop( 'product_url', $context ) );
}