Skip to content

Instantly share code, notes, and snippets.

@dumketo
Created November 16, 2023 07:32
Show Gist options
  • Save dumketo/7642c1bc6256ea68167242370939cb48 to your computer and use it in GitHub Desktop.
Save dumketo/7642c1bc6256ea68167242370939cb48 to your computer and use it in GitHub Desktop.
wp_get_post_terms
$typeterms = wp_get_post_terms( $post->ID, array( 'property-category' ) );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment