WP_Theme::get_core_default_theme

Advertisement

Summery Summery

Determines the latest WordPress default theme that is installed.

Syntax Syntax

WP_Theme::get_core_default_theme()

Description Description

This hits the filesystem.

Return Return

(WP_Theme|false) Object, or false if no theme is installed, which would be bad.

Source Source

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

			}
		}
		return false;
	}

	/**
	 * Returns array of stylesheet names of themes allowed on the site or network.
	 *
	 * @since 3.4.0

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.