Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add directApply if url or email set for application #2635

Merged
merged 3 commits into from
Nov 16, 2023
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions wp-job-manager-template.php
Original file line number Diff line number Diff line change
Expand Up @@ -418,6 +418,8 @@ function wpjm_get_job_listing_structured_data( $post = null ) {
}
}

$data['directApply'] = empty( get_the_job_application_method( $post ) ) ? false : true;
gikaragia marked this conversation as resolved.
Show resolved Hide resolved

$salary = get_the_job_salary( $post );
$currency = get_the_job_salary_currency( $post );
$unit = get_the_job_salary_unit( $post );
Expand Down
Loading