redact()
redact( $allowedCsv, $who, $when, string $content)
Returns the content if the current user is assigned a role that is allowed to read the content, otherwise return a string with the same number of characters as the content but contains only underscores and spaces.
Parameters
| $allowedCsv | ||
| $who | ||
| $when | ||
| string | $content | The content to redact or display. |