wpseek.com
A WordPress-centric search engine for devs and theme authors



_delete_site_logo_on_remove_theme_mods › WordPress Function

Sincen/a
Deprecatedn/a
_delete_site_logo_on_remove_theme_mods ( No parameters )
Defined at:
Codex:

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



Source

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