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.
You may want to simplify the job submission process by removing the preview step.
To do so, simply add the following code to your functions.php file or similar:
You may need to remove the first line from the code.
Basically this does a few things:
- Remove the preview step
- Change preview text to ‘Submit Job’
- Manually publish job (as the preview handler normally does this)