Skip to content

base accessor

Polmonite edited this page Sep 21, 2019 · 1 revision

BaseAccessor

The base accessor retrieve a property of the wp_post.

Syntax:

@base:{attribute_name},{default}

  • {attribute_name}: name of the wanted attribute;
  • {default}: default value, if the attribute is empty.

It's the default accessor and is used to retrieve base properties, like ID, post_title, etc.

Examples:

Other

Extend Malini

  • Create your own Accessor
  • Create your own Decorator
  • Available Extensions
    • Malini\Aeria
    • Malini\YOAST
    • Malini\ACF
Clone this wiki locally