/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/


@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

// 移除 WooCommerce 默认的 "Lost Password" 链接
add_filter( 'woocommerce_get_endpoint_url', 'disable_lost_password_link', 10, 4 );
function disable_lost_password_link( $url, $endpoint, $value, $permalink ) {
    if ( $endpoint === 'lost-password' ) {
        return ''; // 返回空，使链接失效
    }
    return $url;
}
