Return field notes for current language, or another specified language.
This is different from $field->notes
in that it knows about languages (when installed).
Usage
// basic usage
$string = $field->getNotes();
// usage with all arguments
$string = $field->getNotes($language = null);
Arguments
Name | Type(s) | Description |
---|---|---|
language (optional) | Page, Language | Optionally specify a language. If not specified user's current language is used. |
Return value
string
API reference based on ProcessWire core version 3.0.236