Byline
in package
Byline and review functionality
Table of Contents
- enableReview() : void
- Enable review functionality.
- render() : string
- Render byline
Methods
enableReview()
Enable review functionality.
public
static enableReview([null|array<string|int, mixed> $location = null ]) : void
Parameters
- $location : null|array<string|int, mixed> = null
Return values
void —render()
Render byline
public
static render([array<string|int, string> $options = ['date', 'reviewed_by', 'updated_at', 'avatar', 'author_name', 'author_link'] ][, int $post_id = null ]) : string
Parameters
- $options : array<string|int, string> = ['date', 'reviewed_by', 'updated_at', 'avatar', 'author_name', 'author_link']
- $post_id : int = null