• Resolved ttn

    (@ttn)


    Hi,
    How to check this plugin active or deactive.
    I have code

    if( ! function_exists( 'yith_wcwl_add_to_wishlist' ) ){
        function check_yith_enable_or_disable(){
            echo do_shortcode( "[yith_wcwl_add_to_wishlist]" );
        }
        add_action( 'woocommerce_after_shop_loop_item', 'check_yith_enable_or_disable', 10 );
    }

    but when i deactive this plugin, on Shop page stil display
    [yith_wcwl_add_to_wishlist]

    Please tell me this code what wrong!

    https://www.ads-software.com/plugins/yith-woocommerce-wishlist/

  • The topic ‘How to check this plugin active or deactive?’ is closed to new replies.