theme_root_uri

theme_root_uri

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

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('theme_root_uri') is found 1 times:

  • /wp-includes/theme.php line 682
    	 * @param string $theme_root_uri         The URI for themes directory.
    	 * @param string $siteurl                WordPress web address which is set in General Options.
    	 * @param string $stylesheet_or_template The stylesheet or template name of the theme.
    	 */
    	return apply_filters( 'theme_root_uri', $theme_root_uri, get_option( 'siteurl' ), $stylesheet_or_template );
    }
    
    /**
     * Gets the raw theme root relative to the content directory with no filters applied.
     *
     * @since 3.1.0
    

See this hook used in plugins: