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
- BBpress – No topics & reply post_type accessible for admin users
- custom user profiles like linktree fully customizable on the front end
- Randomly display activity posts on home page with buddypress
- How do I add the same contact form to multiple wordpress sites and capture the response in one place or database?
- eLearning Module
- Add SideBar/Widgets Just Below the Post
- Amazon.com intergration with WordPress?
- How to best create a jQuery Slider to display a native wordpress gallery?
- Free paypal cart solution [closed]
- Best/Correct way to add an option to a category
- Are there action hooks for comments?
- Help with WP Business Directory Manager Plugin?
- “W3 Total Cache” with “What Would Seth Godin Do” (and widgets?!)? [closed]
- Add filter on html tags,attributes on specific function in wordpress
- XML Sitemap Generator can’t notify google and bing
- cforms plugin function “my_cforms_logic” (for writing custom logic), is running 5 times
- Adding rel=”nofollow” to external links in posts?
- Best Sitemap Plugin for 1M+ pages [closed]
- Collecting email addresses via a “beta” sign up form
- Plugin that provides the [edit] shortcode?
- Which plugin can do horizontal scrolling of RSS feeds in WordPress [closed]
- How to limit image size for the entire website ? But without editing the post (css/plugin?!)
- Problem installing plugin: unexpected T_STRING, expecting T_FUNCTION
- How do I get the Twitter Tools widget to display my tweets?
- Why are my WordPress store items showing up in duplicates?
- When I try to de-activate any plugin it gives error “Warning: call_user_func_array() [function.call-user-func-array]”
- Plugins for logo in wp themes? [closed]
- How to remove js ui library added by default by wordpress
- Is there a plugin for automatically adding a word or symbol after a trigger word? I.e. Like a search and replace but more like search and add? [closed]
- How to set category correctly for a custom post created by a remote API call?
- Can I do in-page changes binding events/triggers to actions in WordPress?