hstsPreload - aidantwoods/SecureHeaders GitHub Wiki

Description

void hstsPreload ([ mixed $mode = true ] )

Add or remove the preload flag from the HSTS policy (note this can be done with the ->hsts function too).

Parameters

mode

Loosely casted to a boolean, true adds the preload flag, false removes it.