Last active
October 12, 2015 19:07
-
-
Save tripflex/0b50196de02b325330fc to your computer and use it in GitHub Desktop.
Remove preview step from WP Job Manager (only for suggestion, code is untested)
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 | |
add_filter( 'submit_job_steps', 'my_custom_remove_preview_step' ); | |
function my_custom_remove_preview_step( $steps ){ | |
if( isset( $steps['preview'] ) ) unset( $steps['preview'] ); | |
return $steps; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment