Be liberal in what we accept in shortcode syntax before constructing a Follow button
public static sanitizeShortcodeParameters ( array $attributes = [] ) : array | ||
$attributes | array | provided shortcode attributes { @type string shortcode attribute name @type mixed shortcode attribute value } |
return | array | simplified shortcode values with defaults removed { @type string shortcode attribute name @type bool|string shortcode attribute value } |