I just want to know why get_object_taxonomies('custom-post-type-name')
return empty array for custom post types but works fine with post as argument : get_object_taxonomies('post')
and returns:
array (size=3)
0 => string 'category' (length=8)
1 => string 'post_tag' (length=8)
2 => string 'post_format' (length=11)