Limit file upload size

Note: All code examples on this site are provided for developer reference/guidance only and we cannot guarantee that they will always work as expected. Our support policy does not include assistance with modifying or debugging code from any code examples, and they may be changed or removed if we find they no longer work due to changes in our plugins.

By default, WP Job Manager inherits the maximum file upload filesize from WordPress.

If you want to specify a maximum filesize, the following code will set the limit to 1mb for non-admins.

Add the code to your theme’s functions.php file, or using a functionality plugin.