Modify the default dynamic messages for persistent notices. These are added in a key/value pair, which relates to a slug stored when creating a persistent notice.
- $messageArray : Dynamic messages to be registered as a key/value pair (array)
- Return original array from your callback, along with your changes
Updated 03 Mar 2023
Did this page help you?