Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

Table::get_base_url │ public │ WC 1.0

Supplies the 'base' admin URL for this admin table.

Method of the class: Table{}

No Hooks.

Returns

string.

Usage

$Table = new Table();
$Table->get_base_url(): string;

Table::get_base_url() code WC 11.3.0

public function get_base_url(): string {
	return add_query_arg(
		array(
			'page'    => 'wc-settings',
			'tab'     => 'products',
			'section' => 'download_urls',
		),
		admin_url( 'admin.php' )
	);
}