dozent_logo( bool $echo = true )
Render or return branding logo
Parameters
- $echo
-
(bool) (Optional)
Default value: true
Return
(string|void)
Source
File: includes/template-functions.php
function dozent_logo( $echo = true ) { $dashboard_logo_id = dozent_site_logo_id(); $output = $dashboard_logo_id ? wp_get_attachment_image( $dashboard_logo_id, 'full', '', array( 'class' => 'site-branding-logo dozent-site-branding-logo' ) ) : get_bloginfo( 'name' ); if ( $echo ) { echo $output; } return $output; }
Changelog
Version | Description |
---|---|
DozentLMS 1.0.0 | Introduced. |