Skip to content

Filter: apple_news_characters_per_line_anchored

kevinfodness edited this page Oct 23, 2020 · 1 revision

apply_filters( 'apple_news_characters_per_line_anchored', int $cpl, int $body_size, string $body_orientation, string $body_font )

Allows for filtering of the estimated characters per line.

Parameters

$cpl

(int) The characters per line value to be filtered.

$body_size

(int) The value for the body size setting in points.

$body_orientation

(string) The value for the orientation setting.

$body_font

(string) The value for the body font setting.

More Information

Themes and plugins can modify this value to make it more or less aggressive, or set this value to 0 to eliminate intelligent grouping of body blocks.

Source

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

Clone this wiki locally