programmatically add a user role for today’s birthday in WooCommerce
programmatically add a user role for users with birthdays in the current month in WooCommerce
programmatically add a user role for users with birthdays in the current month in WooCommerce
add_filter( ‘woocommerce_account_menu_items’, ‘bbloomer_add_link_my_account’ );function bbloomer_add_link_my_account( $items ) {$newitems = array(‘dashboard’ => ( ‘Dashboard’, ‘woocommerce’ ), ‘anyuniquetext123’ => ( ‘My Membership’, ‘woocommerce’ ),‘wt-smart-coupon’ => ( ‘My Coupons’, ‘woocommerce’ ), ‘points’ =>…