<?php
/**
* Theme functions and definitions.
* This child theme was generated by Merlin WP.
*
* @link https://developer.wordpress.org/themes/basics/theme-functions/
*/

/*
* If your child theme has more than one .css file (eg. ie.css, style.css, main.css) then
* you will have to make sure to maintain all of the parent theme dependencies.
*
* Make sure you're using the correct handle for loading the parent theme's styles.
* Failure to use the proper tag will result in a CSS file needlessly being loaded twice.
* This will usually not affect the site appearance, but it's inefficient and extends your page's loading time.
*
* @link https://codex.wordpress.org/Child_Themes
*/
function anarkali_child_enqueue_styles() {
    wp_enqueue_style( 'anarkali-child-style',
        get_stylesheet_directory_uri() . '/style.css',
        false,
        wp_get_theme()->get('Version')
    );
}


add_filter( 'woocommerce_product_review_login_link', 'custom_review_login_redirect_link' );
function custom_review_login_redirect_link( $link ) {
    // Your exact My Account page URL
    $my_account_url = 'https://www.kasavumaalika.com/staging/my-account/';
    return '<a href="' . esc_url( $my_account_url ) . '">Log in</a>';
}



add_action(  'wp_enqueue_scripts', 'anarkali_child_enqueue_styles' );