Created
May 21, 2015 05:10
-
-
Save mikejolley/0fa5cdbe0d78abf41fc6 to your computer and use it in GitHub Desktop.
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
add_filter( 'resume_manager_user_can_download_resume_file', 'custom_resume_manager_user_can_download_resume_file' ); | |
function custom_resume_manager_user_can_download_resume_file( $can_download ) { | |
$can_download = current_user_can( 'employer' ); | |
return $can_download; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Am I correct in thinking that this simply limits resume download to the employer role?