You appear to be a bot. Output may be restricted
Description
Wraps the WPSEO_Metabox check to determine whether the metabox should be displayed either by choice of the admin or because the post type is not a public post type.
Usage
$bool = WPSEO_Yoast_Columns::display_meta_columns();
Parameters
Returns
bool Whether or not the meta box (and associated columns etc) should be hidden.
Source
File name: wordpress-seo/admin/class-yoast-columns.php
Lines:
1 to 10 of 10
private function display_meta_columns() { $current_post_type = sanitize_text_field( $this->get_current_post_type() ); if ( empty( $current_post_type ) ) { return false; } return WPSEO_Utils::is_metabox_active( $current_post_type, 'post_type' ); }