WP_Icons_Registry::__construct()

In this article

Constructor.

Description

WP_Icons_Registry is a singleton class, so keep this protected.

Icons are populated via _wp_register_default_icons() during the init action. Third-party icons can be registered via wp_register_icon() once their collection is registered.

Source

protected function __construct() {}

Changelog

VersionDescription
7.0.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.