Tutorial: Remove the Preview Step

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:

  1. Remove the preview step
  2. Change preview text to ‘Submit Job’
  3. Manually publish job (as the preview handler normally does this)