Created
August 11, 2020 12:25
-
-
Save champsupertramp/8038b1972a8c06d3a03c60c37209b745 to your computer and use it in GitHub Desktop.
Ultimate Member 2.1.6 - Open files in the current window
This file contains hidden or 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 | |
/** | |
* Open files in the current window | |
* @author www.champ.ninja | |
* | |
**/ | |
add_filter("um_profile_field_filter_hook__file","um_custom_profile_field_filter_hook__file", 100); | |
function um_custom_profile_field_filter_hook__file( $output ){ | |
$output = str_replace("_blank","", $output ); | |
return $output; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment