/*
Theme Name: 	BuddyBoss Child New
Theme URI: 		https://www.buddyboss.com/
Description: 	A child theme of BuddyBoss Theme. To ensure easy updates, make your own edits in this theme.
Author: 		BuddyBoss.com
Author URI: 	https://www.buddyboss.com/
License: 		GNU General Public License v3 or later
License URI: 	http://www.gnu.org/licenses/gpl-3.0.html
Template: 		buddyboss-theme
Version: 		1.0.1
*/

/*
 * 
add_filter('woocommerce_related_products', 'custom_remove_related_products', 10, 3);
function custom_remove_related_products($related_posts, $product_id, $args) {
    // Change 123 to your product ID
    if ($product_id=19622) {
        return array(); // Return empty array to hide related products
    }
    return $related_posts;
}


-- Stylesheet locations --

Add your own customizations into /css/custom.css in this child theme.

Parent styles are called from /buddyboss-theme/inc/theme/functions.php in the 
parent theme and are located in /buddyboss-theme/assets/css/ in the parent theme.


--- If you are editing CSS via the WordPress admin, do the following ---

1. Install the plugin WP Editor: http://wordpress.org/plugins/wp-editor/
2. Navigate to Appearance > Theme Editor in the WordPress admin.
3. Navigate into the /css/ folder of your child theme to edit custom.css.

*/

.register-section .editfield.field_nickname,
.woocommerce-checkout .woocommerce-account-fields { display: none !important; }