Filter: apple_news_register_component - alleyinteractive/apple-news GitHub Wiki

apply_filters( 'apple_news_register_component', string $classname, string $shortname )

Allows you to modify a specific component class before it's registered.

Parameters

$classname

(string) The PHP class name for the component.

$shortname

(string) The internal name used to refer to this component.

More Information

This filter could allow you to replace an existing component class with your own custom version.

Source

includes/apple-exporter/class-component-factory.php