WP_REST_Term_Meta_Fields::__construct

Advertisement

Summery Summery

Constructor.

Syntax Syntax

WP_REST_Term_Meta_Fields::__construct( string $taxonomy )

Parameters Parameters

$taxonomy

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

Source Source

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

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

Advertisement

Changelog Changelog

Changelog
Version Description
4.7.0 Introduced.

Advertisement

Leave a Reply

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