WPDev.one
Core Function
View Source on Trac ↗

_sync_custom_logo_to_site_logo()

_sync_custom_logo_to_site_logo( mixed $value )

Updates the site_logo option when the custom_logo theme-mod gets updated.

Parameters 1 required

Name / Type Description
$value
mixed

Attachment ID of the custom logo or an empty value.

Required

Return Value

(mixed)
mixed

Function Information

Since Version
5.8.0
Source File
wp-includes/blocks/site-logo.php
Advertisement