'; if ( 'yes' === $bag ) { echo '
'; } echo oceanwp_wcmenucart_menu_item(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped if ( 'yes' === $bag ) { echo '
'; } echo ''; } } if ( ! function_exists( 'oceanwp_header_logo' ) ) { /** * Header logo * * @since 1.5.6 */ function oceanwp_header_logo() { get_template_part( 'partials/header/logo' ); } } if ( ! function_exists( 'oceanwp_header_social' ) ) { /** * Header social * * @since 1.5.6 */ function oceanwp_header_social() { get_template_part( 'partials/header/social' ); } } if ( ! function_exists( 'oceanwp_header_navigation' ) ) { /** * Header navigation * * @since 1.5.6 */ function oceanwp_header_navigation() { get_template_part( 'partials/header/nav' ); } } if ( ! function_exists( 'oceanwp_mobile_icon' ) ) { /** * Header navigation * * @since 1.5.6 */ function oceanwp_mobile_icon() { get_template_part( 'partials/mobile/mobile-icon' ); } } if ( ! function_exists( 'oceanwp_mobile_cart_icon_medium_header' ) ) { /** * Mobile cart icon for the Medium header style * * @since 1.5.6 */ function oceanwp_mobile_cart_icon_medium_header() { $header_style = oceanwp_header_style(); // Return if it is not medium or vertical header styles. if ( 'medium' !== $header_style && 'vertical' !== $header_style ) { return; } echo oceanwp_wcmenucart_menu_item(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } } if ( ! function_exists( 'oceanwp_mobile_cart_icon_not_medium_header' ) ) { /** * Mobile cart icon if it is not the Medium header style * * @since 1.5.6 */ function oceanwp_mobile_cart_icon_not_medium_header() { $header_style = oceanwp_header_style(); // Return if medium or vertical header styles. if ( 'medium' === $header_style || 'vertical' === $header_style ) { return; } echo oceanwp_wcmenucart_menu_item(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped } }