Replies
This worked. Thank you Brajesh!
The code I used (I decided to remove it even when viewing one’s own profile)://Remove Gallery tab function remove_gallery_tab() { if ( !is_super_admin()) { echo '<style>li#gallery-my-gallery-personal-li {Display: none;} </style>'; } } add_action( 'wp_head', 'remove_gallery_tab');
Brajesh,
I didn’t want to create another post since this is the same subject but let me know if I should. Not a big deal but it would be great if it could be done. My question is, can I hook the auto-create Gallery function to the BP Autologin on Activation plugin? That way it just runs once and that’s that.
Thanks for all you do!
-PanosHi Brajesh,
Thanks for the reply. So yes, if I hook it up to ‘mpp_actions’ it works fine and you’re right, I’m doing it to optimize database query. I didn’t quite get the part where I store the id in user meta though. Which id? Do you have example code?
Thanks again for your help. It’s getting there!
-Panos