• 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 / Abstract_Main::__isset() – Checks if the given property exists as a surface.

You appear to be a bot. Output may be restricted

Description

Checks if the given property exists as a surface.

Usage

$bool = Abstract_Main::__isset( $property );

Parameters

$property
( string ) required – The property to retrieve.

Returns

bool True when property is set.

Source

File name: wordpress-seo/lib/abstract-main.php
Lines:

1 to 13 of 13
  public function __isset( $property ) {
    if ( \array_key_exists( $property, $this->cached_surfaces ) ) {
      return true;
    }

    $surfaces = $this->get_surfaces();

    if ( ! isset( $surfaces[ $property ] ) ) {
      return false;
    }

    return $this->container->has( $surfaces[ $property ] );
  }
 

 View on GitHub View on Trac

Published: 22nd February 2021 | Last updated: 22nd February 2021

Primary Sidebar

Information

Function name: Abstract_Main::__isset
Class ref: Abstract_Main
Plugin ref: Yoast SEO
Version: 20.2.1
Sourcefile: lib/abstract-main.php
File ref: lib/abstract-main.php
Deprecated?: No
API Letters: A,I,M

Footer

Yoast SEO a2z
Yoast SEO a2z
WordPress SEO a2z
WordPress 6.1.1
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-2023. All rights reserved.


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

  • Home
  • Blog
  • Sitemap
  • Sites