apply_filters( 'jobrelay_wpcon_job_schema_closing_date_keys', $keys array )
Allows filtering of the job data keys checked for a job’s closing date. The first key with a value is used for the markup’s validThrough date, and jobs past that date get no markup.
In this article
Parameters
$keys(array) The job data keys to check, in order. Defaults toexpiry_date,date_endandend_date.
Example
// also check a custom closing date field.
add_filter( 'jobrelay_wpcon_job_schema_closing_date_keys', function( $keys ) {
$keys[] = 'custom_field_1';
return $keys;
} );