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
Return Return
(array) Registered additional fields (if any), empty array if none or if the object type could not be inferred.
Source Source
File: includes/rest-api/v2/class-ld-rest-posts-controller.php
Changelog Changelog
Version | Description |
---|---|
3.3.0.2 | Introduced. |