WordPress at Your Fingertips
function is not described

WP_REST_Term_Meta_Fields::__construct() public WP 4.7.0

Constructor.

{} It's a method of the class: WP_REST_Term_Meta_Fields{}

No Hooks.

Return

null. Nothing.

Usage

$WP_REST_Term_Meta_Fields = new WP_REST_Term_Meta_Fields();
$WP_REST_Term_Meta_Fields->__construct( $taxonomy );
$taxonomy(string) (required)
Taxonomy to register fields for.

Code of WP_REST_Term_Meta_Fields::__construct() WP 5.8.3

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