B4BY.588
Home
Terminal
Upload
information
Create File
Create Folder
About
Tools
:
/
home
/
sportmx
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
models
/
Filename :
indexable-extension.php
back
Copy
<?php namespace Yoast\WP\SEO\Models; use Yoast\WP\Lib\Model; /** * Abstract class for indexable extensions. */ abstract class Indexable_Extension extends Model { /** * Holds the Indexable instance. * * @var Indexable|null */ protected $indexable = null; /** * Returns the indexable this extension belongs to. * * @return Indexable The indexable. */ public function indexable() { $this->indexable ??= $this->belongs_to( 'Indexable', 'indexable_id', 'id' )->find_one(); return $this->indexable; } }