← All docs

tidy_get_head()

Returns the document's head element node, or null when there is none.

tidy_get_head()

function tidy_get_head(mixed $tidy): mixed

Returns the document’s head element node, or null when there is none.

Parameters:

  • $tidy (mixed)

Returns: mixed

Availability

Compiled (AOT)Magician (eval)
AvailableAvailable

No examples yet. Check examples/ and showcases/ for usage patterns.

Internals

For how tidy_get_head is implemented in the compiler, see the internals page.