Method |
Description |
|
__construct ( ) |
Class constructor. |
|
add_opengraph_namespace ( string $input ) : string |
Filter for the namespace, adding the OpenGraph namespace. |
|
article_author_facebook ( ) : boolean |
Outputs the authors FB page. |
|
category ( ) : boolean; |
Output the article category as an article:section tag. |
|
description ( boolean $echo = true ) : string |
Output the OpenGraph description, specific OG description first, if not, grab the meta description. |
|
facebook_filter ( array $meta_tags ) : array |
Filter the Facebook plugins metadata |
|
image ( string | boolean $image = false ) |
Create new WPSEO_OpenGraph_Image class and get the images to set the og:image |
|
image_output ( string $image ) |
Fallback method for plugins using image_output |
|
locale ( boolean $echo = true ) : string |
Output the locale, doing some conversions to make sure the proper Facebook locale is outputted. |
|
og_tag ( string $property, string $content ) : boolean |
Internal function to output FB tags. This also adds an output filter to each bit of output based on the property. |
|
og_title ( boolean $echo = true ) : string | boolean |
Outputs the SEO title as OpenGraph title. |
|
opengraph ( ) |
Main OpenGraph output. |
|
publish_date ( ) : boolean; |
Output the article publish and last modification date |
|
site_name ( ) |
Output the site name straight from the blog info. |
|
site_owner ( ) : boolean |
Outputs the site owner |
|
tags ( ) : boolean |
Output the article tags as article:tag tags. |
|
type ( boolean $echo = true ) : string |
Output the OpenGraph type. |
|
url ( ) : boolean |
Outputs the canonical URL as OpenGraph URL, which consolidates likes and shares. |
|
website_facebook ( ) : boolean |
Outputs the websites FB page. |
|