WP_Icons_Registry::__construct
Constructor.
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.
Метод класса: WP_Icons_Registry{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->__construct();
Список изменений
| С версии 7.0.0 | Введена. |
Код WP_Icons_Registry::__construct() WP Icons Registry:: construct WP 7.1.2
protected function __construct() {}