WordPress hook directory
after_setup_theme

Description

Runs during a themes initialization. Is generally used to perform basic setup, registration, and init actions for a theme.

This description was scraped automatically from the WordPress filter reference or action reference. If it looks like this is the wrong description, please tell me so I can fix my code.

WordPress version history for after_setup_theme

This database has information for all major versions from WP 1.2.1 through 5.1.

Version File Line Type
3.0 wp-settings.php 266 View in context action
3.1 wp-settings.php 281 View in context action
3.2 wp-settings.php 285 View in context action
3.3 wp-settings.php 289 View in context action
3.4 wp-settings.php 290 View in context action
3.5 wp-settings.php 294 View in context action
3.6 wp-settings.php 296 View in context action
3.7 wp-settings.php 324 View in context action
3.8 wp-settings.php 331 View in context action
3.9 wp-settings.php 336 View in context action
4.0 wp-settings.php 337 View in context action
4.1 wp-settings.php 337 View in context action
4.2 wp-settings.php 337 View in context action
4.3 wp-settings.php 337 View in context action
4.4 wp-settings.php 376 View in context action
4.5 wp-settings.php 377 View in context action
4.6 wp-settings.php 395 View in context action
4.7 wp-settings.php 433 View in context action
4.8 wp-settings.php 432 View in context action
4.9 wp-settings.php 434 View in context action
5.0 wp-settings.php 451 View in context action
5.1 wp-settings.php 489 View in context action

Related Hooks

We find related hooks using word stems. after_setup_theme has 3 significant word stem(s): after, setup, theme. Note that some of the hooks below may not appear in all versions of WP.