forked from beezwax/WP-Publish-to-Apple-News
-
Notifications
You must be signed in to change notification settings - Fork 71
Filter: apple_news_dropcap
Brendan Huffman edited this page Feb 15, 2023
·
4 revisions
apply_filters( 'apple_news_dropcap', bool $use_dropcap, string $html, \Apple_Exporter\Theme $theme, int $post_id )
Allows for filtering of the dropcap content before return.
$use_dropcap
(bool) Whether to apply a dropcap to this paragraph or not.
$html
(string) The post content to filter.
$theme
(\Apple_Exporter\Theme) The theme whose dropcap options are used.
$post_id
(int) The id of the post whose content we're parsing.
For support, please file an issue here on GitHub or visit the WordPress.org support forum.