Advertisement

WP_Theme::scandir

Scans a directory for files of a certain extension.

theme_templates

Filters list of page templates for a theme.

Advertisement

Advertisement

Advertisement

WP_Theme::get_template

The directory name of the theme’s “template” files, inside the theme root.

WP_Theme::get_stylesheet

The directory name of the theme’s “stylesheet” files, inside the theme root.