WP_REST_Term_Meta_Fields::__construct( string $taxonomy )

Constructor.


Description Description


Parameters Parameters

$taxonomy

(string) (Required) Taxonomy to register fields for.


Top ↑

Source Source

File: wp-includes/rest-api/fields/class-wp-rest-term-meta-fields.php

	public function __construct( $taxonomy ) {
		$this->taxonomy = $taxonomy;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

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