' . $this->get_site_logo_or_title() . '
'; } /** * Get the site logo or title. * * This is used to display the site logo or title in the email template. * * @return string HTML content for the site logo or title. */ private function get_site_logo_or_title(): string { $custom_logo = get_custom_logo(); if ( ! empty( $custom_logo ) ) { // Use Site logo if available. return ''; } return ''; } }