Skip to content

Filter: apple_news_recipe_schema_permalink

David Herrera edited this page Feb 11, 2025 · 1 revision

apply_filters( 'apple_news_recipe_schema_permalink', string $permalink, int $content_id )

Filters the URL for an article that will be fetched and searched for JSON-LD Recipe items.

Parameters

$permalink

(string) The URL to fetch.

$content_id

(int) The ID of the content being fetched.

Source

includes/apple-exporter/components/class-recipe.php

Clone this wiki locally