Skip to content

Instantly share code, notes, and snippets.

@billerickson
Created January 21, 2012 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save billerickson/1650805 to your computer and use it in GitHub Desktop.
Save billerickson/1650805 to your computer and use it in GitHub Desktop.
Admin Pages - sanitization filters
<?php
/**
* Set up Sanitization Filters
*
* See /lib/classes/sanitization.php for all available filters.
*
* @since 1.0.0
*/
function sanitization_filters() {
genesis_add_option_filter( 'no_html', $this->settings_field,
array(
'phone',
'address',
) );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment