%2$s', esc_url( home_url( '/' ) ), wp_get_attachment_image( $custom_logo_id, $size, false, array( 'class' => 'ast-mobile-header-logo', ) ) ); return $html . $logo; } /** * Add Body Classes * * @param array $classes Body Class Array. * @return array */ function add_body_class( $classes ) { /** * Add class for header width */ $header_content_layout = astra_get_option( 'different-mobile-logo' ); if ( '0' == $header_content_layout ) { $classes[] = 'ast-mobile-inherit-site-logo'; } return $classes; } } /** * Initialize class object with 'get_instance()' method */ Astra_Mobile_Header::get_instance(); endif;