메소드 | 설명 | |
---|---|---|
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 |