Automattic\WooCommerce\Internal\Admin\ProductReviews
Reviews::get_reviews_page_url
Retrieves the URL to the product reviews page.
Method of the class: Reviews{}
No Hooks.
Returns
String.
Usage
$result = Reviews::get_reviews_page_url(): string;
Reviews::get_reviews_page_url() Reviews::get reviews page url code WC 10.3.5
public static function get_reviews_page_url(): string {
return add_query_arg(
array(
'post_type' => 'product',
'page' => static::MENU_SLUG,
),
admin_url( 'edit.php' )
);
}