WordPress at a glance
функция не описана

WP_Theme::parent() public WP 3.4.0

Returns reference to the parent theme.

It's a method of the class: WP_Theme{}

Хуков нет.

Возвращает

WP_Theme/false. Parent theme, or false if the current theme is not a child theme.

Использование

$WP_Theme = new WP_Theme();
$WP_Theme->parent();

Changelog

Since 3.4.0 Introduced.

Код WP_Theme::parent() WP 5.5.1

<?php
public function parent() {
	return isset( $this->parent ) ? $this->parent : false;
}