PHP 8.2.31
Preview: indexable-extension.php Size: 530 B
/home/nshryvcy/radiantskinclinics.org/wp-content/plugins/wordpress-seo/src/models/indexable-extension.php

<?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;
	}
}

Directory Contents

Dirs: 0 × Files: 6

Name Size Perms Modified Actions
530 B lrw-r--r-- 2026-06-03 13:59:46
Edit Download
585 B lrw-r--r-- 2026-06-03 13:59:46
Edit Download
5.26 KB lrw-r--r-- 2026-06-03 13:59:46
Edit Download
668 B lrw-r--r-- 2026-06-03 13:59:46
Edit Download
1.26 KB lrw-r--r-- 2026-06-03 13:59:46
Edit Download
536 B lrw-r--r-- 2026-06-03 13:59:46
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).