setup_theme WordPress Action Hook

The setup_theme hook is fired after the theme is fully loaded and instantiated. This hook is the perfect place to do any last minute setup or configuration for your theme. For example, you could register custom post types ortaxonomies here.

do_action( 'setup_theme' ) #

Fires before the theme is loaded.


Source

File: wp-settings.php

View on Trac


Top ↑

Changelog

Changelog
VersionDescription
2.6.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.