Created
August 25, 2015 14:58
-
-
Save anonymous/9efa029b0aedebcfcd3e 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
<?php if ( $apply = get_the_job_application_method() ) : | |
wp_enqueue_script( 'wp-job-manager-job-application' ); | |
?> | |
<div class="job_application application"> | |
<?php do_action( 'job_application_start', $apply ); ?> | |
<?php if ( ! current_user_can( 'employer' ) ) :?> | |
<input type="button" class="application_button button" value="<?php _e( 'Apply for job', 'wp-job-manager' ); ?>" /> | |
<input type="button" class="application_button button" value="<?php _e( 'Apply for job', 'wp-job-manager' ); ?>" /> | |
<div class="application_details"> | |
<?php | |
/** | |
* job_manager_application_details_email or job_manager_application_details_url hook | |
*/ | |
do_action( 'job_manager_application_details_' . $apply->type, $apply ); | |
?> | |
</div> | |
<?php do_action( 'job_application_end', $apply ); ?> | |
</div> | |
<?php endif; ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment