Yoast\WP\SEO\Integrations\Third_Party
Elementor::display_metabox() public Yoast 1.0
Determines whether the metabox should be shown for the passed identifier.
By default the check is done for post types, but can also be used for taxonomies.
{} Это метод класса: Elementor{}
Хуков нет.
Возвращает
true/false. Whether or not the metabox should be displayed.
Использование
$Elementor = new Elementor(); $Elementor->display_metabox( $identifier, $type );
- $identifier(строка/null)
- The identifier to check.
По умолчанию: null - $type(строка)
- The type of object to check.
По умолчанию: post_type
Код Elementor::display_metabox() Elementor::display metabox Yoast 15.6.2
public function display_metabox( $identifier = null, $type = 'post_type' ) {
return WPSEO_Utils::is_metabox_active( $identifier, $type );
}