Core Theme Components

Schema

Generates schema.org data which is added to the <head> element of web pages.

Table of Contents

isEmpty()  : bool
Returns true if the Schema object is considered "empty".
toArray()  : array<string|int, mixed>
Return the schema data as a dictionary.

Methods

isEmpty()

Returns true if the Schema object is considered "empty".

public isEmpty() : bool
Return values
bool

toArray()

Return the schema data as a dictionary.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results