block_url()

public function block_url(string $block_path = ''): void

The block_url() method is supported by a dedicated helper function. For guidance on how to use it, click here.