Skip to content

Instantly share code, notes, and snippets.

@tripflex
Last active June 8, 2020 20:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tripflex/f9ae184b485ff8d2ee592ed576be3212 to your computer and use it in GitHub Desktop.
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
<?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