Skip to content

Filter: apple_news_exporter_post_thumb

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_exporter_post_thumb', string|null $url, int $post_id )

Filters the cover image URL of an article before it is sent to Apple News.

Parameters

$url

(string|null) The cover image URL for the post.

$post_id

(int) The ID of the post.

More Information

The cover image URL is used for the Cover component, if it is active.

Source

admin/apple-actions/index/class-export.php

Clone this wiki locally