You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
477 B
PHTML
30 lines
477 B
PHTML
8 months ago
|
<?php
|
||
|
/**
|
||
|
* The Schema Interface
|
||
|
*
|
||
|
* @since 1.0.13
|
||
|
* @package RankMath
|
||
|
* @subpackage RankMath\Schema
|
||
|
* @author Rank Math <support@rankmath.com>
|
||
|
*/
|
||
|
|
||
|
namespace RankMath\Schema;
|
||
|
|
||
|
defined( 'ABSPATH' ) || exit;
|
||
|
|
||
|
/**
|
||
|
* Schema interface.
|
||
|
*/
|
||
|
interface Snippet {
|
||
|
|
||
|
/**
|
||
|
* Process schema data
|
||
|
*
|
||
|
* @param array $data Array of JSON-LD data.
|
||
|
* @param JsonLD $jsonld Instance of JsonLD.
|
||
|
*
|
||
|
* @return array
|
||
|
*/
|
||
|
public function process( $data, $jsonld );
|
||
|
}
|