A WordPress-centric search engine for devs and theme authors

wp-includes/blocks/site-logo.php › WordPress File

Server-side rendering of the `core/site-logo` block.

Function Short description
register_block_core_site_icon_settingRegister a core site setting for a site icon
register_block_core_site_logoRegisters the `core/site-logo` block on the server.
register_block_core_site_logo_settingRegister a core site setting for a site logo
render_block_core_site_logoRenders the `core/site-logo` block on the server.
_delete_custom_logo_on_remove_site_logoRemoves the custom_logo theme-mod when the site_logo option gets deleted.
_delete_site_logo_on_remove_custom_logoDeletes the site_logo when the custom_logo theme mod is removed.
_delete_site_logo_on_remove_custom_logo_on_setup_themeHooks `_delete_site_logo_on_remove_custom_logo` in `update_option_theme_mods_$theme`.
_delete_site_logo_on_remove_theme_modsDeletes the site logo when all theme mods are being removed.
_override_custom_logo_theme_modOverrides the custom logo with a site logo, if the option is set.
_sync_custom_logo_to_site_logoUpdates the site_logo option when the custom_logo theme-mod gets updated.