Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

Simplify plugin

$
0
0

Replies: 0

You can bring this up to date (your field definition no longer matches Woo’s) and future-proof it somewhat if you just use a filter instead:

add_filter(
    'option_woocommerce_checkout_phone_field'
    , function($option) {
        return 'required';
    }
);

Viewing all articles
Browse latest Browse all 59525

Trending Articles