Skip to content

Kirby 4.5.0

Header::forbidden()

Sends a 403 header

Header::forbidden(bool $send = true): string|void

Parameters

Name Type Default
$send bool true

Return type

string|void

Parent class

Kirby\Http\Header