PHP Класс The_SEO_Framework\Inpost

Outputs Taxonomy, Post and Page meta boxes
С версии: 2.7.1
Наследование: extends Doing_It_Right
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$inpost_nonce_field Defines inpost nonce field.
$inpost_nonce_name Defines inpost nonce name.

Защищенные свойства (Protected)

Свойство Тип Описание
$inpost_seo_bar Add inpost SEO Bar through a filter.

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
__construct ( ) Constructor, load parent constructor

Описание методов

__construct() защищенный Метод

Constructor, load parent constructor
protected __construct ( )

add_inpost_seo_box() публичный Метод

Adds SEO Meta boxes beneath every page/post edit screen.
С версии: 2.0.0
public add_inpost_seo_box ( string $post_type )
$post_type string The current Post Type.

add_inpost_seo_box_init() публичный Метод

Adds the SEO meta box to post edit screens.
С версии: 2.0.0

add_taxonomy_seo_box_init() публичный Метод

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

inpost_seo_box() публичный Метод

Callback for in-post SEO meta box.
С версии: 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() публичный Метод

Determines post type and outputs SEO box.
С версии: 2.1.8
public pre_seo_box ( $object, $args ) : string
$object the page/post/taxonomy object
$args the page/post arguments or taxonomy slug.
Результат string Inpost SEO box.

singular_inpost_box() публичный Метод

Callback function for Post and Pages inpost metabox.
С версии: 2.3.5
public singular_inpost_box ( string $type )
$type string The post type name.

tt_inpost_box() публичный Метод

Callback function for Taxonomy and Terms inpost box.
С версии: 2.3.5
public tt_inpost_box ( string $type, object $object )
$type string The TT type name.
$object object The TT object.

Описание свойств

$inpost_nonce_field публичное свойство

Defines inpost nonce field.
С версии: 2.7.0
public $inpost_nonce_field

$inpost_nonce_name публичное свойство

Defines inpost nonce name.
С версии: 2.7.0
public $inpost_nonce_name

$inpost_seo_bar защищенное свойство

Add inpost SEO Bar through a filter.
С версии: 2.5.2
protected $inpost_seo_bar