job_bm_salary_durations

You can add your own salary durations by adding filter hook as following example.

function job_bm_salary_durations_29072019($durations){


    $durations['custom_1'] = __('Custom 1','textdomain');
    $durations['custom_2'] = __('Custom 2','textdomain');


    return $durations;

}

add_filter('job_bm_salary_durations','job_bm_salary_durations_29072019');

Remove salary durations

you can remove salary durations by filter hook as following.

function job_bm_salary_duration_remove_29072019($durations){


    // default index => hour, day, week, month, year
    unset($durations['custom_1']);

    return $durations;

}

add_filter('job_bm_salary_durations','job_bm_salary_duration_remove_29072019', 90);

The default salary durations

  • hour
  • day
  • week
  • month
  • year