Skip to content

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.

Parameters

$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.

Source

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

Clone this wiki locally