WordPress at Your Fingertips
function is not described

WC_Product::get_permalink() public WC 1.0

Product permalink.

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

No Hooks.

Return

String.

Usage

$WC_Product = new WC_Product();
$WC_Product->get_permalink();

Code of WC_Product::get_permalink() WC 5.5.2

<?php
public function get_permalink() {
	return get_permalink( $this->get_id() );
}