Skip to content

Instantly share code, notes, and snippets.

@yousufansa
Created October 25, 2018 06:53
Show Gist options
  • Save yousufansa/00681e32f0aa463be9d0610f4c81e1fb to your computer and use it in GitHub Desktop.
Save yousufansa/00681e32f0aa463be9d0610f4c81e1fb to your computer and use it in GitHub Desktop.
Jobhunt - Job Dashboard Remove Duplicate & Mark Filled
if ( ! function_exists( 'jh_child_remove_job_manager_my_job_actions' ) ) {
function jh_child_remove_job_manager_my_job_actions( $actions ) {
unset ( $actions['mark_filled'] );
unset ( $actions['mark_not_filled'] );
unset ( $actions['duplicate'] );
return $actions;
}
}
add_filter( 'job_manager_my_job_actions', 'jh_child_remove_job_manager_my_job_actions' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment