Class AuthorField
Author field.
Returns a single Author object or array of Author objects.
-
Tev\Field\Model\AbstractField
implements
Tev\Contracts\WordpressWrapperInterface
-
Tev\Field\Model\AuthorField
Methods summary
public
|
|
public
Tev\Author\Model\Author |Tev\Author\Model\Author[] |null
|
#
getValue( )
Get a single author object or array of author objects.
Get a single author object or array of author objects.
If no authors are configured, returned will result will be an empty array
if this is a mutli-select, or null if not.
Returns
|
public
string
|
#
__toString( )
Get a string representation of this field.
Get a string representation of this field.
Author display name or names, comma-space separated.
Returns
string
Overrides
|