after_setup_theme

after_setup_theme

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

do_action('after_setup_theme') is found 1 times:

  • /wp-settings.php line 682
     * 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();
    

See this hook used in plugins: