• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer
Yoast SEO a2z

Yoast SEO a2z

WordPress SEO a2z

  • Home
  • Plugins
  • Blocks
  • Shortcodes
  • APIs
  • Classes
  • Files
  • Hooks
  • Sitemap
  • Blog
Home / APIs / WPSEO_Yoast_Columns::display_links() – Whether or not we are showing link columns on this overview page.

You appear to be a bot. Output may be restricted

Description

Whether or not we are showing link columns on this overview page.

This depends on the post being accessible or not.

Usage

$bool = WPSEO_Yoast_Columns::display_links();

Parameters

Returns

bool Whether or not the linking columns are shown

Source

File name: wordpress-seo/admin/class-yoast-columns.php


Lines:

1 to 10 of 10
  private function display_links() {
    $current_post_type = sanitize_text_field( $this->get_current_post_type() );

    if ( empty( $current_post_type ) ) {
      return false;
    }

    return WPSEO_Post_Type::is_post_type_accessible( $current_post_type );
  }
 

 View on GitHub View on Trac

Published: 8th June 2020 | Last updated: 10th December 2020

Primary Sidebar

Information

Function name: WPSEO_Yoast_Columns::display_links
Class ref: WPSEO_Yoast_Columns
Plugin ref: Yoast SEO
Version: 15.9
Sourcefile: admin/class-yoast-columns.php
File ref: admin/class-yoast-columns.php
Deprecated?: No
API Letters: C,D,L,W,Y

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 5.6.2
WordPress a2z
WordPress core a2z
Genesis Theme Framework a2z
Jetpack a2z
WordPress develop tests
Easy Digital Downloads a2z
WooCommerce a2z
Yoast SEO a2z
WordPress Blocks

Site:  wordpress-seo.wp-a2z.org
© Copyright Yoast SEO a2z 2017-2021. All rights reserved.


Website designed and developed by Herb Miller
Proudly powered by WordPress and oik plugins

  • Home
  • Blog
  • Sitemap
  • Sites