Fires after the theme is loaded.
wp-settings.php:682file scope /** * Fires after the theme is loaded. * * @since 3.0.0 */do_action( 'after_setup_theme' ); // Create an instance of WP_Site_Health so that Cron events may fire.if ( ! class_exists( 'WP_Site_Health' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-site-health.php';}WP_Site_Health::get_instance();Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.