Skip to content

Filter: apple_news_exporter_cover_caption

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_exporter_cover_caption', string $caption, int $post_id )

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

Parameters

$caption

(string) The caption to use for the cover image.

$post_id

(int) The ID of the post.

More Information

The cover image caption is used for the Cover component, if it is active, and if support for cover image captions is turned on in theme settings.

Source

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

Clone this wiki locally