Yoast\WP\SEO\Schema_Aggregator\Application\Filtering

Filtering_Strategy_Interface{}interfaceYoast 1.0

Interface for filtering strategies.

Хуков нет.

Использование

$Filtering_Strategy_Interface = new Filtering_Strategy_Interface();
// use class methods

Методы

  1. public filter( Schema_Piece_Collection $schema )

Код Filtering_Strategy_Interface{} Yoast 27.7

interface Filtering_Strategy_Interface {

	/**
	 * Applies filtering to the given schema.
	 *
	 * @param Schema_Piece_Collection $schema The schema to be filtered.
	 *
	 * @return Schema_Piece_Collection The filtered schema.
	 */
	public function filter( Schema_Piece_Collection $schema ): Schema_Piece_Collection;
}