Malini Accessors and Decorators for Aeria.
Depends on both:
Adds the Aeria decorator:
malini_post()->decorate('aeria');
Accepted options:
filter: the attributes we want to retrieve; see filter option syntax;automerge_fields: iffalsespecifies that the attributes retrieved will be nested inside anaeria_fieldskey; otherwise they will be added at the root level (defaults tofalse);automerge_level: ifautomerge_fieldsistrue, we can also specify the wantedautomerge_level; if it's1, the Aeria fields will be grouped through their respectivemetabox_id; if it's2, they will be added at the root level, ignoring themetabox_id; no other values are allowed;automerge_levelis ignored ifautomerge_fieldsisfalse(defaults to1).
@aeria:{metabox_id},{field_id},{default}
metabox_id: the id of the wanted metabox; if nometabox_idis provided, all Aeria meta fields will be retrieved for this post;field_id: the id of the wanted field in this metabox; if nofield_idis provided, all Aeria meta fields of this metabox will be retrieved;default: default value if the field is not set for this post; defaults tonull.