WP_Post_Type::register_taxonomies

Advertisement

Summery Summery

Registers the taxonomies for the post type.

Syntax Syntax

WP_Post_Type::register_taxonomies()

Source Source

File: wp-includes/class-wp-post-type.php

	 * @since 4.6.0
	 */
	public function register_taxonomies() {
		foreach ( $this->taxonomies as $taxonomy ) {
			register_taxonomy_for_object_type( $taxonomy, $this->name );

Advertisement

Changelog Changelog

Changelog
Version Description
4.6.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

What are you looking for?