LD_REST_Posts_Controller_V2::get_additional_fields( string $object_type = null )

Retrieves all of the registered additional fields for a given object-type.


Description Description


Parameters Parameters

$object_type

(Optional) The object type.

Default value: null


Top ↑

Return Return

(array) Registered additional fields (if any), empty array if none or if the object type could not be inferred.


Top ↑

Source Source

File: includes/rest-api/v2/class-ld-rest-posts-controller.php


			

Top ↑

Changelog Changelog

Changelog
Version Description
3.3.0.2 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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