Settings::settings_page_logo_source( string $source_url )
Replaces the source URL of the settings page logo.
Contents
Parameters
- $source_url
-
(string) (Required) The current source URL of the settings page logo.
Return
(string) The source URL of the settings page logo.
Source
File: src/Tribe/Admin/Settings.php
public function settings_page_logo_source( $source_url ): string {
if ( ! $this->is_tec_events_settings() ) {
return $source_url;
}
return tribe_resource_url( 'images/logo/the-events-calendar.svg', false, null, Tribe__Main::instance() );
}
Changelog
| Version | Description |
|---|---|
| 6.7.0 | Introduced. |