Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Adjust Allowed HTML
- * Adjusts what HTML elements and element attributes you are allowed to use
- * in myCRED fields that support HTML.
- * @verison 1.0
- */
- add_filter( 'mycred_allowed_html_tags', 'mycredpro_adjust_allowed_tags' );
- function mycredpro_adjust_allowed_tags( $allowed ) {
- $allowed['a']['class'] = array();
- $allowed['i'] = array( 'class' => array() );
- return $allowed;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement