Last active
October 19, 2016 14:51
-
-
Save rali14/6bdde3485686734ce2f57ab137a3f6b9 to your computer and use it in GitHub Desktop.
Redirect automatically to link WP Job Manager
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 | |
$link = 'Location: '+ esc_url( $apply->url ); ?> | |
<p><?php _e( 'To apply for this job please visit the following URL:', 'wp-job-manager' ); ?> <a href="<?php echo esc_url( $apply->url ); ?>" target="_blank" rel="nofollow"><?php echo esc_html( $apply->url ); ?> →</a></p> | |
<?php | |
header($link); | |
exit; | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment