WordPress at Your Fingertips
function is not described

WC_Query::wpseo_metadesc() public WC 1.0

WP SEO meta description.

Hooked into wpseo_ hook already, so no need for function_exist.

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

No Hooks.

Return

String.

Usage

$WC_Query = new WC_Query();
$WC_Query->wpseo_metadesc();

Code of WC_Query::wpseo_metadesc() WC 5.7.0

public function wpseo_metadesc() {
	return WPSEO_Meta::get_value( 'metadesc', wc_get_page_id( 'shop' ) );
}