Support » Plugin: WordPress Picture / Portfolio / Media Gallery » Call Category of the post

Viewing 1 replies (of 1 total)
  • Plugin Author Nimble3


    $term_list = wp_get_post_terms($post_id, 'nimble-portfolio-type', array("fields" => "names"));

    $term_list now contains the array of all the categories (item types) attached to this post (make sure $post_id contains the correct post id)

Viewing 1 replies (of 1 total)
  • The topic ‘Call Category of the post’ is closed to new replies.