Last active
June 8, 2020 20:57
-
-
Save tripflex/f9ae184b485ff8d2ee592ed576be3212 to your computer and use it in GitHub Desktop.
WP Job Manager - allow guest users (not logged in) to upload via AJAX
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 | |
// NOTE: this overrides security protection added in WP Job Manager, only use this if you know what you're doing!! | |
add_filter( 'job_manager_user_can_upload_file_via_ajax', '__return_true' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment