a5345534
Forum Replies Created
-
Forum: Plugins
In reply to: [Side Cart Woocommerce | Woocommerce Cart] Woo Side Cart showing blank pageme too
Forum: Plugins
In reply to: [WC Pickup Store] If free shipping is set also give option for local pickupi have same problem
Use this plugin to solve the problem
ELEX Hide WooCommerce Shipping Methods
Forum: Plugins
In reply to: [WC Pickup Store] How do I display short description on the Checkout page?worked!
Thanks you very muchSorry, although i can’t solve your problem
But can you please provide the style of the drop-down test menu for my reference?
No information can be found on the Internet, even the official websiteit’s workes!!
thanks you very much!!
add_action(‘mycred_init’, ‘promote_user_role’);
function promote_user_role() {
$user_id = get_current_user_id();
$ref_sums = mycred_get_users_balance( $user_id );// check if balance over 3000 points and that they are not yet “gold_member”
if ( $ref_sums >= 3000 ){
wp_update_user( array(
‘ID’ => $user_id,
‘role’ => ‘gold_member’
) );}
}- This reply was modified 4 years, 10 months ago by a5345534.
WOW,i am sure it worked.
But I do n’t want to limit it to publishing_content
I want the function to refer to total balance
How should I modify it?
thanks for your help
i allready add this code in this functions.php file.
bactopur.com/public_html/wp-content/themes/oceanwp/functions.php
Do I still need to do anything?