WP_Theme::load_textdomain

SummerySummery

Loads the theme’s textdomain.

Syntax

WP_Theme::load_textdomain()

DescriptionDescription

Translation files are not inherited from the parent theme. TODO: If this fails for the child theme, it should probably try to load the parent theme’s translations.

ReturnReturn

(bool) True if the textdomain was successfully loaded or has already been loaded. False if no textdomain was specified in the file headers, or if the domain could not be loaded.

SourceSource

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


			

ChangelogChangelog

Changelog
Version Description
3.4.0 Introduced.
Scroll to Top