Skip to content

Filter: apple_news_register_component

kevinfodness edited this page Oct 23, 2020 · 1 revision

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

Clone this wiki locally