Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function get_category_jobs_daki() {
$term = get_term( 31, 'job_listing_category' );
$slug = $term->slug;
$posts = get_posts('job_listing_category=' . $slug . '&post_type=job_listing');
return $count = count($posts);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.