PHP Class The_SEO_Framework\Metaboxes

Outputs Network and Site SEO settings meta boxes
Since: 2.7.1
Inheritance: extends Site_Options
Exibir arquivo Open project: sybrew/the-seo-framework

Public Methods

Method Description
description_metabox ( object | null $post = null, array $args = [] ) Description meta box on the Site SEO Settings page.
description_metabox_additions_tab ( ) Description meta box additions tab.
description_metabox_general_tab ( ) Description meta box general tab.
feed_metabox ( object | null $post = null, array $args = [] ) Feed Metabox on the Site SEO Settings page.
homepage_metabox ( object | null $post = null, array $args = [] ) Home Page meta box on the Site SEO Settings page.
homepage_metabox_additions_tab ( ) HomePage Metabox Additions Tab Output.
homepage_metabox_general_tab ( ) HomePage Metabox General Tab Output.
homepage_metabox_robots_tab ( ) HomePage Metabox Robots Tab Output
knowledge_metabox ( object | null $post = null, array $args = [] ) Knowlegde Graph metabox on the Site SEO Settings page.
knowledge_metabox_about_tab ( ) Knowledge Graph Metabox About Tab output.
knowledge_metabox_general_tab ( ) Knowledge Graph Metabox General Tab output.
knowledge_metabox_social_tab ( ) Knowledge Graph Metabox Social Tab output.
nav_tab_wrapper ( string $id, array $tabs = [], string $version = '2.3.6', boolean $use_tabs = true ) Setting nav tab wrappers.
robots_metabox ( object | null $post = null, array $args = [] ) Robots meta box on the Site SEO Settings page.
schema_metabox ( object | null $post = null, array $args = [] ) Schema Metabox on the Site SEO Settings page.
sitemaps_metabox ( object | null $post = null, array $args = [] ) Sitemaps meta box on the Site SEO Settings page.
sitemaps_metabox_general_tab ( ) Sitemaps Metabox General Tab output.
sitemaps_metabox_notify_tab ( ) Sitemaps Metabox Notify Tab output.
sitemaps_metabox_robots_tab ( ) Sitemaps Metabox Robots Tab output.
sitemaps_metabox_timestamps_tab ( ) Sitemaps Metabox Timestamps Tab output.
social_metabox ( object | null $post = null, array $args = [] ) Social meta box on the Site SEO Settings page.
social_metabox_postdates_tab ( ) Social Metabox PostDates Tab output.
social_metabox_relationships_tab ( ) Social Metabox Relationships Tab output.
title_metabox ( object | null $post = null, array $args = [] ) Title meta box on the Site SEO Settings page.
title_metabox_additions_tab ( array $examples = [] ) Title meta box general tab.
title_metabox_general_tab ( ) Title meta box general tab.
title_metabox_prefixes_tab ( array $additions = [], boolean $showleft = false ) Title meta box prefixes tab.
webmaster_metabox ( object | null $post = null, array $args = [] ) Webmaster meta box on the Site SEO Settings page.

Protected Methods

Method Description
__construct ( ) Constructor, load parent constructor.
robots_metabox_general_tab ( ) Robots Metabox General Tab output.
robots_metabox_no_tab ( array $types, array $robots ) Robots Metabox "No-: Index/Follow/Archive" Tab output.
social_metabox_facebook_tab ( ) Social Metabox Facebook Tab output.
social_metabox_general_tab ( ) Social Metabox General Tab output.
social_metabox_twitter_tab ( ) Social Metabox Twitter Tab output.

Method Details

__construct() protected method

Constructor, load parent constructor.
protected __construct ( )

description_metabox() public method

Description meta box on the Site SEO Settings page.
Since: 2.3.4
public description_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array The metabox arguments.

description_metabox_additions_tab() public method

Description meta box additions tab.
Since: 2.6.0

description_metabox_general_tab() public method

Description meta box general tab.
Since: 2.6.0

feed_metabox() public method

Feed Metabox on the Site SEO Settings page.
Since: 2.5.2
public feed_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array the social tabs arguments.

homepage_metabox() public method

Home Page meta box on the Site SEO Settings page.
Since: 2.2.2
public homepage_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array The navigation tabs args.

homepage_metabox_additions_tab() public method

HomePage Metabox Additions Tab Output.
Since: 2.7.0

homepage_metabox_general_tab() public method

HomePage Metabox General Tab Output.
Since: 2.7.0

homepage_metabox_robots_tab() public method

HomePage Metabox Robots Tab Output
Since: 2.7.0

knowledge_metabox() public method

Knowlegde Graph metabox on the Site SEO Settings page.
Since: 2.2.8
public knowledge_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array the social tabs arguments.

knowledge_metabox_about_tab() public method

Knowledge Graph Metabox About Tab output.
Since: 2.2.8

knowledge_metabox_general_tab() public method

Knowledge Graph Metabox General Tab output.
Since: 2.2.8

knowledge_metabox_social_tab() public method

Knowledge Graph Metabox Social Tab output.
Since: 2.2.8

nav_tab_wrapper() public method

Outputs Tabs and settings content.
Since: 2.3.6
Since: 2.6.0
public nav_tab_wrapper ( string $id, array $tabs = [], string $version = '2.3.6', boolean $use_tabs = true )
$id string The Nav Tab ID
$tabs array the tab content { $tabs = tab ID key = array( $tabs['name'] => tab name $tabs['callback'] => string|array callback function $tabs['dashicon'] => string Dashicon $tabs['args'] => mixed optional callback function args ) }
$version string the The SEO Framework version for debugging. May be emptied.
$use_tabs boolean Whether to output tabs, only works when $tabs only has one count.

robots_metabox() public method

Robots meta box on the Site SEO Settings page.
Since: 2.2.2
public robots_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array The metabox arguments.

robots_metabox_general_tab() protected method

Robots Metabox General Tab output.
Since: 2.2.4

robots_metabox_no_tab() protected method

Robots Metabox "No-: Index/Follow/Archive" Tab output.
Since: 2.2.4
protected robots_metabox_no_tab ( array $types, array $robots )
$types array The post types
$robots array The robots option values : { 'value' string The robots option value. 'name' string The robots name. 'desc' string Explains what the robots type does. }

schema_metabox() public method

Schema Metabox on the Site SEO Settings page.
Since: 2.6.0
public schema_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array the social tabs arguments.

sitemaps_metabox() public method

Sitemaps meta box on the Site SEO Settings page.
Since: 2.2.9
public sitemaps_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array the social tabs arguments.

sitemaps_metabox_general_tab() public method

Sitemaps Metabox General Tab output.
Since: 2.2.9

sitemaps_metabox_notify_tab() public method

Sitemaps Metabox Notify Tab output.
Since: 2.2.9

sitemaps_metabox_robots_tab() public method

Sitemaps Metabox Robots Tab output.
Since: 2.2.9

sitemaps_metabox_timestamps_tab() public method

Sitemaps Metabox Timestamps Tab output.
Since: 2.2.9

social_metabox() public method

Social meta box on the Site SEO Settings page.
Since: 2.2.2
public social_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array the social tabs arguments.

social_metabox_facebook_tab() protected method

Social Metabox Facebook Tab output.
Since: 2.2.2

social_metabox_general_tab() protected method

Social Metabox General Tab output.
Since: 2.2.2

social_metabox_postdates_tab() public method

Social Metabox PostDates Tab output.
Since: 2.2.4

social_metabox_relationships_tab() public method

Social Metabox Relationships Tab output.
Since: 2.2.4

social_metabox_twitter_tab() protected method

Social Metabox Twitter Tab output.
Since: 2.2.2

title_metabox() public method

Title meta box on the Site SEO Settings page.
Since: 2.2.2
public title_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array The metabox arguments.

title_metabox_additions_tab() public method

Title meta box general tab.
Since: 2.6.0
public title_metabox_additions_tab ( array $examples = [] )
$examples array : array { 'left' => Left Example 'right' => Right Example }

title_metabox_general_tab() public method

Title meta box general tab.
Since: 2.6.0

title_metabox_prefixes_tab() public method

Title meta box prefixes tab.
Since: 2.6.0
public title_metabox_prefixes_tab ( array $additions = [], boolean $showleft = false )
$additions array : array { 'left' => Left Example Addtitions 'right' => Right Example Additions }
$showleft boolean The example location.

webmaster_metabox() public method

Webmaster meta box on the Site SEO Settings page.
Since: 2.2.4
public webmaster_metabox ( object | null $post = null, array $args = [] )
$post object | null The current post object.
$args array the social tabs arguments.