add_action( 'job_bm_application_hire', 'job_bm_application_hire_29072019', 5,2 ); if ( ! function_exists( 'job_bm_application_hire_29072019' ) ) { function job_bm_application_hire_29072019($value, $application_id){ // do something with $application_id & $value } }