Description
This filter allows you to change the HTML elements that myCRED will allow in the history shortcode.
Parameters
Param | Type | Required | Description |
---|---|---|---|
$allowed |
array | Yes | Array of HTML elements and their attributes that are allowed to be used. |
Used By
Package | Prio. | Description |
---|---|---|
Not used by any built-in package. |
Example
Example 1: Change the allowed HTML elements to only accept paragraphs and Emphasized text.