1. Home
  2. Using Matador Jobs
  3. Advanced Configuration and Setup
  4. Adjust the where for fetching Jobs
  1. Home
  2. Developer
  3. Code Snippets
  4. Adjust the where for fetching Jobs

Adjust the where for fetching Jobs

If you need to filter which jobs are downloaded you can use the filter matador_bullhorn_import_the_job_where

Here is an example where we filter to only fetch jobs with the status of Filled and Hot.

add_filter( 'matador_bullhorn_import_the_job_where', 'matador_bullhorn_import_the_job_where' );

function matador_bullhorn_import_the_job_where( $where ){

   $where .= " AND status IN ('Filled', 'Hot')";

    return $where;
}
Updated on September 25, 2023
Was this article helpful?

Related Articles

Need Support?
Can't find the answer you're looking for?
Contact Support