Created
February 1, 2024 19:21
-
-
Save kontikidigital/9a142c2420fbfd30df7d037c89157729 to your computer and use it in GitHub Desktop.
ULTIMATE MEMBER Enable the HTML tags in options.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// ULTIMATE MEMBER Enable the HTML tags in options. | |
add_filter("um_builder_input_map","um_020422_change_options_sanitization"); | |
function um_020422_change_options_sanitization( $arr ){ | |
$arr['_options']['sanitize'] = 'wp_kses'; | |
return $arr; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment