Skip to content

Filter: apple_news_exporter_content

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_exporter_content', string $content, int $post_id )

Filters the HTML of a post after the_content filter is called, but before the HTML is parsed into Apple News Format.

Parameters

$content

(string) The HTML content of the post, after the_content filter has been run.

$post_id

(int) The ID of the post.

More Information

This filter could be useful to remove content known to be incompatible with Apple News, or to add content stored in other areas of the database, such as postmeta or custom database tables.

Source

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

Clone this wiki locally