theme_root

theme_root

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

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('theme_root') is found 1 times:

  • /wp-includes/theme.php line 629
    	 * @since 1.5.0
    	 *
    	 * @param string $theme_root Absolute path to themes directory.
    	 */
    	return apply_filters( 'theme_root', $theme_root );
    }
    
    /**
     * Retrieves URI for themes directory.
     *
     * Does not have trailing slash.
    

See this hook used in plugins: