Method | Description | |
---|---|---|
__construct ( ) | Class constructor | |
get_meta_boxes ( string $post_type = 'post' ) : array | Define the meta boxes for the Social tab | |
get_meta_section ( ) : WPSEO_Metabox_Tab_Section | Returns the metabox section for the social settings. | |
og_data_compare ( WP_Post $post ) | This method will compare opengraph fields with the posted values. | |
save_meta_boxes ( array $field_defs ) : array | Filter over the meta boxes to save, this function adds the Social meta boxes. | |
tab_content ( ) : string | ||
tab_header ( ) : string | ||
translate_meta_boxes ( ) | Translate text strings for use in the meta box |
Method | Description | |
---|---|---|
get_social_tab_content ( string $medium, array $meta_field_defs ) : string | Generates the html for a social settings tab for one of the supported social media. |
public get_meta_boxes ( string $post_type = 'post' ) : array | ||
$post_type | string | Optional post type string. |
return | array | Array containing the meta boxes |
public get_meta_section ( ) : WPSEO_Metabox_Tab_Section | ||
return | WPSEO_Metabox_Tab_Section |
public og_data_compare ( WP_Post $post ) | ||
$post | WP_Post | Post instance. |
public save_meta_boxes ( array $field_defs ) : array | ||
$field_defs | array | Array of metaboxes to save. |
return | array |
public static translate_meta_boxes ( ) |