HEX
Server: Apache
System: Linux efa57bbe-abb1-400d-2985-3b056fbc2701.secureserver.net 6.1.147-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Jul 24 12:33:32 EDT 2025 x86_64
User: root (0)
PHP: 8.0.30.4
Disabled: NONE
Upload Files
File: /var/www/wp-content/themes/oceanwp/inc/themepanel/views/layout/header.php
<?php
$custom_logo_url = '';

if ( class_exists( 'Ocean_White_Label' ) ) {
    $settings = Ocean_White_Label::get_white_label_settings();
    $custom_logo_url = $settings['panel_logo'];
} elseif ( get_option( 'oceanwp_theme_panel_logo' ) ) {
    $custom_logo_url = wp_get_attachment_url( get_option( 'oceanwp_theme_panel_logo' ) );
}
?>

<div class="oceanwp-notify"><span id="oceanwp-notifyType" class=""></span></div>
<div class="oceanwp-tp-header">
	<div class="oceanwp-tp-branding">
		<?php if( ! empty( $custom_logo_url ) ) : ?>
			<span class="oceanwp-tp-oceanwp-logo"
				<?php if (  ! empty( $custom_logo_url ) && get_option( 'oceanwp_theme_panel_logo' ) ) :	?>
					style="background: url(<?php echo esc_url( $custom_logo_url ); ?>) no-repeat center center;"
				<?php endif; ?>>
			</span>
		<?php elseif( empty( $custom_logo_url ) && ! get_option( 'oceanwp_whitelabel_oceanwp_panel', false ) ) : ?>
			<span class="oceanwp-tp-oceanwp-logo"></span>
		<?php endif; ?>
		<strong>
			<span>
				<?php esc_html_e( 'OceanWP Panel', 'oceanwp' ); ?>
			</span>
		</strong>
	</div>
	<div class="oceanwp-tp-theme-version">
		<?php echo esc_html( 'v' ); ?><?php echo esc_html( OCEANWP_THEME_VERSION ); ?>
	</div>
	<div class="clear"></div>
</div>