WP_Theme::parent

Advertisement

Summery Summery

Returns reference to the parent theme.

Syntax Syntax

WP_Theme::parent()

Return Return

(WP_Theme|false) Parent theme, or false if the current theme is not a child theme.

Source Source

File: wp-includes/class-wp-theme.php

		return isset( $this->parent ) ? $this->parent : false;
	}

Advertisement

Changelog Changelog

Changelog
Version Description
3.4.0 Introduced.

Advertisement

Leave a Reply