Bullhorn api client for wordpress

Bullhorn Staffing synchronisation plugin

Bullhorn Staffing synchronisation plugin

How add bullhorn credentials

You should define constants in wp-config.php
php
define('BH_CLIENT_ID', 'dc585694-g09...');
define('BH_CLIENT_SECRET', 'Ico50E....');
define('BH_API_USERNAME', 'your_username');
define('BH_API_PASSWORD', 'your_password');

How get current user candidate

php
$candidate = \WPBullhornStaffing::candidate();
if($candidate) {
// candidate found
}

How get specific user candidate

php
$candidate = \WPBullhornStaffing::candidate($user);
if($candidate) {
// candidate found
}