assoc_acpt_taxonomy_to_acpt_post

assoc_acpt_taxonomy_to_acpt_post

Associate a custom taxonomy to a custom post type.

Usage

assoc_acpt_taxonomy_to_acpt_post('new-tax', 'page');

Parameters

  • taxonomy (string) (Required) The taxonomy slug

  • post_type (string) (Required) The post type name

Return

  • boolean

Last updated