WP_Post_Type::register_taxonomies()

Registers the taxonomies for the post type.


Source

File: wp-includes/class-wp-post-type.php. View all references

public function register_taxonomies() {
	foreach ( $this->taxonomies as $taxonomy ) {
		register_taxonomy_for_object_type( $taxonomy, $this->name );
	}
}


Top ↑

Changelog

Changelog
Version Description
4.6.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.