Created
February 11, 2015 17:06
-
-
Save bryceadams/5aa9fc75434ccde4b128 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
add_filter( 'submit_job_form_fields', 'frontend_add_job_expiry' ); | |
function frontend_add_job_expiry( $fields ) { | |
$fields['job']['job_expires'] = array( | |
'label' => __( 'Job Expiry', 'job_manager' ), | |
'type' => 'text', | |
'placeholder' => 'yyyy-mm-dd', | |
'priority' => 7 | |
); | |
return $fields; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment