-
Notifications
You must be signed in to change notification settings - Fork 4
with all metas
petertank edited this page Dec 4, 2019
·
2 revisions
The all_meta
decorator adds to the Malini\Post
all the post-meta related to this post.
Attributes added:
-
post_meta
: an associative array containing all the post-meta values, indexed by theirmeta_key
.
Options:
-
filter
: the attributes we want to retrieve; see filter option syntax; -
automerge_fields
: boolean value that specify if we want to avoid creating thepost_meta
attribute and explodes all the custom fields at the top level; defaults tofalse
; -
auto_detect_single
: boolean value that specify if we want to try and automatically detect if a post-meta is a single value or not; defaults tofalse
.
- Getting started
- Why Malini
- BaseAccessor
- ThisAccessor
- AllMetaAccessor
- MetaAccessor
- GroupedMetaAccessor
- MediaAccessor
- PostsAccessor
- PostAccessor
- Malini\Post
- Malini\Archive
- JSON Helper
- Filter Option Syntax
- Create your own Accessor
- Create your own Decorator
- Available Extensions
- Malini\Aeria
- Malini\YOAST
- Malini\ACF