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
- Add custom meta box on Post page
- Can installing a plugin delete an entire theme directory?
- Mixed unrelated taxonomy in permalink
- How to modify shortcode attributes with data from current post
- Is there an easy way to flag posts in the admin area?
- Error when using plugin QuickCache with plugin Mobile Smart ? [closed]
- URL rewrite of independent plugin?
- Why Does the WordPress Twitter Tools Plugin give a 500 Internal Server Error?
- Opening a link automatically on page load?
- 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]
- UTF-32be error WordPress
- wp-admin send 404 error
- How I update WordPress theme and plugins
- WordPress Mailerlite – How to include mailerlite SDK in plugin
- How to request admin-ajax.php correctly when wordpress URL and site URL are different?
- How to Use the Filter “sidebar_login_widget_form_args”
- Hide plugins and theme from public
- acf backend error handling
- Homepage to serve the content of page created from a plugin [duplicate]
- return bbp_get_topic_author_id as integer
- WordPress Widget: Is it possible to make the form dynamic without updating?
- Site is continuously accessing by several IPs
- Moving to WordPress Premium versus a hosting provider
- How to find an option in the database?
- Need Help Creating a Multi-Step, Video-Guided Enrollment Site
- woocommerce_payment_complete hook only called after accepting payment?
- how to sort results by last day update at search result in plugin installer?
- How can I server scaled images?
- Make a Custom template for a specific category in wordpress
- Woocommerce Export Orders with Order Item Meta
- How to create a sharing marketplace with wordpress for bicycles?
- wordpress admin-ajax bad request 400