age_gate_messaging

Applies a filter to the messages Age Gate displays.

This takes three parameters:

  • $html: The generated markup
  • $messages: An array of the set messages
  • $age: The current required age