WordPress at Your Fingertips
function is not described

_delete_site_logo_on_remove_theme_mods() WP 1.0

Deletes the site logo when all theme mods are being removed.

This is an internal function for using it by WP core itself. It's not recommended to use this function in your code.

No Hooks.

Return

null. Nothing.

Usage

_delete_site_logo_on_remove_theme_mods();

Code of _delete_site_logo_on_remove_theme_mods() WP 5.8.2

function _delete_site_logo_on_remove_theme_mods() {
	if ( false !== get_theme_support( 'custom-logo' ) ) {
		delete_option( 'site_logo' );
	}
}