WPDev.one
Core Function
View Source on Trac ↗

_override_custom_logo_theme_mod()

_override_custom_logo_theme_mod( mixed $custom_logo )

Overrides the custom logo with a site logo, if the option is set.

Parameters 1 required

Name / Type Description
$custom_logo
string

The custom logo set by a theme.

Required

Return Value

(string)
The site logo if set.

Function Information

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