📁 File Manager Pro
v10.0.3 | PHP: 8.1.34
Server: LiteSpeed
2026-06-28 14:28:15
📂
/ (Root)
/
home
/
apkbfjox
/
shamapk.com
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
schema-aggregator
/
domain
📍 /home/apkbfjox/shamapk.com/wp-content/plugins/wordpress-seo/src/schema-aggregator/domain
🔄 Refresh
✏️
Editing: external-schema-piece-repository-interface.php
Writable
<?php // phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure. namespace Yoast\WP\SEO\Schema_Aggregator\Domain; /** * Interface for external schema piece repositories. * * Implementations provide schema pieces from external sources (e.g., WooCommerce, EDD). */ interface External_Schema_Piece_Repository_Interface { /** * Checks if this repository supports the given post type. * * @param string $post_type The post type to check. * * @return bool True if this repository can provide schema for the post type. */ public function supports( string $post_type ): bool; /** * Collects external schema pieces for the given post. * * @param int $post_id The post ID. * * @return array<array<string,string|int|bool|array>> The schema pieces (always an array, may be empty). */ public function collect( int $post_id ): array; }
💾 Save Changes
❌ Cancel