Метод | Описание | |
---|---|---|
fetch_locale ( $match = '' ) : string | Matches WordPress locales. | |
generate_og_type ( ) : string | Generates the Open Graph type based on query status. | |
generate_twitter_card_type ( ) : string | Generates the Twitter Card type. When there's an image found, it will take the said option. Otherwise, it will fall back to 'summary'. | |
get_blogdescription ( ) : string | Fetch blog description. | |
get_blogname ( ) : string | Fetches blogname. | |
get_separator ( string $type = 'title', boolean $escape = true ) : string | Returns cached and parsed separator option. | |
get_separator_list ( ) : array | List of title separators. | |
get_twitter_card_types ( ) : array | Returns array of Twitter Card Types | |
robots_meta ( ) : array | null | Output the index, follow, noodp, noydir, noarchive robots meta code in array |
Метод | Описание | |
---|---|---|
__construct ( ) | Constructor, load parent constructor |
public fetch_locale ( $match = '' ) : string | ||
$match | the locale to match. Defaults to WordPress locale. | |
Результат | string | Facebook acceptable OG locale. |
public generate_og_type ( ) : string | ||
Результат | string | The Open Graph type. |
public generate_twitter_card_type ( ) : string | ||
Результат | string | The Twitter Card type. |
public get_blogdescription ( ) : string | ||
Результат | string | $blogname The trimmed and sanitized blog description. |
public get_blogname ( ) : string | ||
Результат | string | $blogname The trimmed and sanitized blogname. |
public get_separator_list ( ) : array | ||
Результат | array | Title separators. |
public get_twitter_card_types ( ) : array | ||
Результат | array | Twitter Card types. |
public robots_meta ( ) : array | null | ||
Результат | array | null | robots |