Automattic\WooCommerce\Internal\ProductDownloads\ApprovedDirectories\Admin

Table::get_base_url │ public │ WC 1.0

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

Метод класса: Table{}

Хуков нет.

Возвращает

string.

Использование

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

Код Table::get_base_url() WC 11.2.2

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