That is the correct approach.
The problem was in the function mytab_screen()
I wasn’t using ‘array’ for the 2nd parameter in the add_action for the template call.
Nothing fancy, just sloppiness.
Related Posts:
- Where the Nickname is being used in WordPress
- Remove WordPress Toolbar buttons
- How to override normal WordPress search in Buddypress? [closed]
- Automatically Creating Posts for Popular Forum Topics or Products [closed]
- How to hide fields from my user profiles
- How to notify users of blog updates a la Admin Plugin Update notifications?
- Remove toolbar option (and set to default to no) in user profile
- How to display public user profile with 2 additional fields? (GitHub source code included)
- plugin to search entire posts, blogs, forum, users [closed]
- How to make first_name and last_name required fields in user profile?
- How to get member list based on role by using buddypress?
- Possible to add a language file to a plugin without adding .po/.mo files to plugin directory?
- Two people sharing user in WordPress [closed]
- How to upload user profile image from frontend in wordpress ?
- Wp favorite posts get user favorites in profile using buddypress [closed]
- rt media plugin count not working in shortcode [closed]
- Information and Videos for Customers in the Backend [closed]
- Integrate BuddyPress & Facebook
- Redirecting a buddyboss profile tab to a different tab if not subscribed to a specific membership
- Add An Activity Filter By User Id In Buddypress Plugin
- Buddypress – Add the post_id in the bp_activity_add function
- After plugin activation all users marked as Spam
- Can you use another Profile Builder shortcodes through advanced custom fields
- How to redirect users to their profile after they successfully edit their profile
- media page returnig to 404 in rtmedia [closed]
- Implementing an image hosting website using WordPress? [closed]
- How to have sample page for each new register users in a membership website
- Duplicate New User Registration notices (BuddyPress and bbPress both installed)
- How to extract data from ‘edit my profile’ page in WordPress?
- Remove / overwrite some functions in buddypress.js
- how to connect the author profile with google webmaster tools in multiuser blog?
- How to override the Buddypress bp-members folder’s file?
- Add user meta after a user has registered and logged In [closed]
- BuddyPress activity on edit post for a CPT
- BuddyPress: filter member based on Xprofile Field
- override function from my plugin [closed]
- How to enable WPML in BuddyPress Multilingual Plugin in a single website? [closed]
- Do WordPress plugins suport multisite site?
- BuddyPress admin bar links are broken [closed]
- Using BuddyPress > ‘Register page’ [closed]
- Bulk User Deletion
- Summary and Comments on Main landing Page
- Get user edit functions in frontend for site admin
- HTTP Error upload ( localhost )
- how to create user profile pages and display them based on users roles
- wp_set_password() does not work!
- Which membership plugin enables users to enter html links in blogs and on their profile page?
- Limiting buddy press features based on membership level (PMPro)
- How do I add languages?
- There was a problem uploading the cover image in buddypress, while uploading profile image?
- Using WordPress to create a simple web app (SaaS) [closed]
- Buddypress Member list not showing admin and mods
- How to get author developer link on plugin page
- How to copy data from user profile page (profile.php) to theme customizer
- Edit Buddypress Groups Activity Page Text [closed]
- How to Change MU/BuddyPress Group Blog New Installation Defaults [closed]
- Displaying custom profile fields using Mingle Plugin
- Make buddypress posts likes count show to all users [closed]
- Buddypress Plugin for register user from other site’s [closed]
- I want to remove the register/login WordPress top bar from my website
- How can I save a setting field with multiple checkbox options generated by a foreach loop on a custom wordpress admin page?
- how to set approval of admin for wordpress posts submitted by the user?
- How to make wordpress backend mobile optimized.?
- BuddyPress group filter
- Different login and logout for wp-admin while using buddypress
- Tips on using a custom template with Ultimate Member
- How to create a buddypress group automatically if a topic is created
- Issues with creating user profile for a subscriber, but with different profile page and functionalities
- Custom Login and Password Reset for BuddyPress Website
- Randomly display activity posts on home page with buddypress
- Given the ID of a product in woocommerce, how can I get its URL?
- Coding Challenge – JavaScript Easter Egg
- Bug in Stackoverflow styled badge system script
- Run function on plugin upgrade
- Disable plugin on Specific Page of Admin
- Over write plugin templates
- Using has_filter with a class based plugin to check whether the plugin is active or not
- Social sharing post’s shortlink instead of permalink
- BuddyPress | How to merge the “setting” & “profile” pages into one page? [closed]
- Get data from plugin People list in author template
- How to add a full edit link to front-end editor?
- My WordPress website was hacked [closed]
- Allowing users to Sign-up > Login > Post articles that need approval
- What is a good plugin for making a template that can be reused to make several objects on a single page?
- standard custom page template hierarchy for plugins
- Index.php using 100% CPU [closed]
- How to write to a separate PHP file in plugin settings
- hardcoded wp pages/plugins problems
- How to keep plugin (media-sync) running even the tab is closed?
- Attempting to list all product categories and the price range of all products within them
- What plugin would make this happen? If is the theme
- Plugin Options Page and Subpage
- WordPress PHP error getting posts from another wordpress blog
- ABSPATH doesn’t work
- How know the “admin” blog from wordpress multisite?
- How to use ‘Event Manager Shortcodes’ plugin via the php code? [closed]
- Upload Image to desired directory through plugin
- Fast Tranfering my WordPress site to another server
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- No Google Analytics code rendered in the header?