Parameters

$title:
Optional string value to assign to the page title; or if set to NULL
(default), leaves the current title unchanged.

$output:
Optional flag - normally should be left as CHECK_PLAIN. Only set to
PASS_THROUGH if you have already removed any possibly dangerous code
from $title using a function like check_plain() or filter_xss(). With this
flag the string will be passed through unchanged.