Convert shortcode parameters, attributes, and defaults into a clean set of Tweet parameters
public static sanitizeShortcodeParameters ( array $attributes = [] ) : array | ||
$attributes | array | set of shortcode attribute-value pairs or positional content matching the WordPress shortcode regex { @type string|int attribute name or positional int @type mixed shortcode value } |
return | array | cleaned up options ready for comparison { @type string option name @type string|bool option value } |