Skip to content

Instantly share code, notes, and snippets.

@sbruner
Last active June 29, 2016 20:13
Show Gist options
  • Save sbruner/98263f2d685948a17a3de6c7372540b5 to your computer and use it in GitHub Desktop.
Save sbruner/98263f2d685948a17a3de6c7372540b5 to your computer and use it in GitHub Desktop.
// sanitize parameter example. Must be in field function
,'sanitize' => array(
array(
'type' => 'html_class'
,'options' => array(
'fallback' => 'my-default-class'
)
,'callback' => 'my-custom-callback'
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment