How to Install WordPress Plugins and T...
Facing issues installing WordPress plugins or themes without FTP? This snippet provid...

WPCodeBox
465
Learn how to set the default user registration role in WooCommerce by adjusting line 5 of the provided code snippet, replacing ‘subscriber’ with your desired role.
// Set Woocommerce Default User Registration Role
add_filter('woocommerce_new_customer_data', 'wc_assign_custom_role', 10, 1);
function wc_assign_custom_role($args) {
$args['role'] = 'subscriber';
return $args;
}



This is how you change the WordPress admin logo to your own custom logo.


