Last active
August 29, 2015 14:20
-
-
Save rahularyan/c41295f83ea48a0cce48 to your computer and use it in GitHub Desktop.
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
// Short version: you can simply use below line | |
add_filter('ap_user_profile_active', '__return_false'); | |
//Long version: if you dont understand what above code is for then this code will will tell you | |
function my_disable_anspres_profile(){ | |
return false; | |
} | |
add_filter('ap_user_profile_active', 'my_disable_anspres_profile'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment