LearnDash_Settings_Metabox::get_rest_api_fields()
Returns Settings Metabox Fields with sub fields for REST API.
Description #
Returns a plain array of fields that includes sub fields as well (3rd level fields). This is used by the REST API to expose all fields, including nested inline fields.
Return #
(array<string,mixed[]>) Array of settings fields including sub fields.
Source #
Changelog #
| Version | Description |
|---|---|
| 5.0.0 | Introduced. |