PHP Class The_SEO_Framework\Inpost

Outputs Taxonomy, Post and Page meta boxes
Since: 2.7.1
Inheritance: extends Doing_It_Right
ファイルを表示 Open project: sybrew/the-seo-framework

Public Properties

Property Type Description
$inpost_nonce_field Defines inpost nonce field.
$inpost_nonce_name Defines inpost nonce name.

Protected Properties

Property Type Description
$inpost_seo_bar Add inpost SEO Bar through a filter.

Public Methods

Method Description
add_inpost_seo_box ( string $post_type ) Adds SEO Meta boxes beneath every page/post edit screen.
add_inpost_seo_box_init ( ) Adds the SEO meta box to post edit screens.
add_taxonomy_seo_box_init ( ) Adds SEO Meta boxes within Taxonomy screens.
inpost_seo_box ( object $object, array $args ) Callback for in-post SEO meta box.
pre_seo_box ( $object, $args ) : string Determines post type and outputs SEO box.
singular_inpost_box ( string $type ) Callback function for Post and Pages inpost metabox.
tt_inpost_box ( string $type, object $object ) Callback function for Taxonomy and Terms inpost box.

Protected Methods

Method Description
__construct ( ) Constructor, load parent constructor

Method Details

__construct() protected method

Constructor, load parent constructor
protected __construct ( )

add_inpost_seo_box() public method

Adds SEO Meta boxes beneath every page/post edit screen.
Since: 2.0.0
public add_inpost_seo_box ( string $post_type )
$post_type string The current Post Type.

add_inpost_seo_box_init() public method

Adds the SEO meta box to post edit screens.
Since: 2.0.0

add_taxonomy_seo_box_init() public method

Adds SEO Meta boxes within Taxonomy screens.
Since: 2.1.8
Since: 2.6.0 Can no longer run outside of the term edit scope.
Since: 2.6.0 Can no longer run when another SEO plugin is active.
Since: 2.7.1 Added show_ui argument for public taxonomy detection.

inpost_seo_box() public method

Callback for in-post SEO meta box.
Since: 2.0.0
public inpost_seo_box ( object $object, array $args )
$object object the page/post/taxonomy object
$args array the page/post arguments or taxonomy slug

pre_seo_box() public method

Determines post type and outputs SEO box.
Since: 2.1.8
public pre_seo_box ( $object, $args ) : string
$object the page/post/taxonomy object
$args the page/post arguments or taxonomy slug.
return string Inpost SEO box.

singular_inpost_box() public method

Callback function for Post and Pages inpost metabox.
Since: 2.3.5
public singular_inpost_box ( string $type )
$type string The post type name.

tt_inpost_box() public method

Callback function for Taxonomy and Terms inpost box.
Since: 2.3.5
public tt_inpost_box ( string $type, object $object )
$type string The TT type name.
$object object The TT object.

Property Details

$inpost_nonce_field public_oe property

Defines inpost nonce field.
Since: 2.7.0
public $inpost_nonce_field

$inpost_nonce_name public_oe property

Defines inpost nonce name.
Since: 2.7.0
public $inpost_nonce_name

$inpost_seo_bar protected_oe property

Add inpost SEO Bar through a filter.
Since: 2.5.2
protected $inpost_seo_bar