If you’re using ACF you can also attach custom fields to users. You can attach them by using the Location Rules (the ones in the ‘User’ subgroup), see Creating custom user profile pages with ACF
You could add a single relational → post object field in a field group, Filter by Post Type → Lesson.
Then you could use a front-end form which you can pre-populate with that specific lesson (see: Pre-populate Relationship field…) – then you might also want to hide the input with CSS.
Related Posts:
- Multiple developers / editors working on a site in progress
- How many users can WordPress handle?
- Performance tips for a large user base [closed]
- Efficiency on displaying random authors based on large database
- Extend the wp_users table
- How to use user table of a different database for WordPress users?
- Subscribers to posts
- Set Display Name to first and last name (phpmyadmin SQL Query)
- Select Multiple meta_value from WP DB; Single Query
- Getting all the users who have author privilege
- Does WordPress always create unique passwords?
- In what part of the WordPress core does the users table and usermeta table get joined?
- Why is it that not all users have a ‘session_tokens’ meta_key record in the usermeta table?
- Modify Database in Multi-Site wp_usermeta table
- Change WordPress prefix for only one table?
- wp_get_current_user always returns 0 continued
- Is there a smart way to obtain a list of only some selected user meta data?
- How can i customize the export personal data file?
- What Is the Proper Way to Merge Usermeta Table to a an existing WP Database?
- Import users from old WP site to new one
- How to Access wp_usermeta Data Immediately After a New User is Created
- Logins from WP users table use on another page
- MS Access to manage WordPress Database
- 2 WordPress sites with 2 databases but sharing the same users
- Convert user passwords to MD5?
- Does WordPress store the username as a primary key in the database?
- Is there a way to execute a php script outside WordPress?
- multiple wordpress installation with shared usertable on an different database
- Best practice to import user base (subscribers) from one website to another?
- Share users across multiple sites on same database, but with different domains
- Users table missing from Database [closed]
- Some weird users in database
- How to delete a particular row in a database table
- Recovering the table wp_usermeta from users
- Regenerate user_nicename column
- Storing user submitted forms [closed]
- WordPress where clauses in db select
- wp_insert_user not creating account correctly when ID is manually set
- Select From wpdb – Author/User Directory page
- Can’t log into wordpress site – I have made a new user and still cant access
- Need help with creating a searchable user data by name or specific number like ID
- Migrate Users From laravel to wordpress
- Display user data in numbered list
- User input to database
- how add more field to wp user and save it to database
- Move Non-WordPress users table to WordPress database
- Change user_nickname for author page link
- how restrict user to give star ratings once for a post?
- create a table using user meta custom data
- How to get the id of recently registered user from database?
- How to save dropdown slection by a user in the DB
- How to get specific table by current user login
- update multiple user meta field based on another meta field
- Hash user emails in database?
- Changed meta_key value in structures, now dashboard shows zero users
- What WordPress file is saving new users to database
- Get id from database
- WordPress sync with phpbb
- import (migration) user database to wp-users
- Import Excel (or csv) Table with user-data as subscribers to wordpress
- WP Multisite Users Not Linking
- What’s the simplest way to backup my WordPress database?
- WordPress (MyISAM) database is slow, should I switch to InnoDB?
- Fastest way (least amount of steps) to locally import a remote database using WP-CLI
- Solution for database version control and deployment?
- How to create bulk page and content? [closed]
- The revisions table in my database is at 70% capacity and growing. What should I do?
- WordPress for a very large website
- WP_list_table bulk_action get edit and delete
- How to update BuddyPress xprofile fields programmatically? [closed]
- stdObject stored in database. How does one convert it to usable format?
- Does WordPress ever need multiple databases?
- Why are no posts showing despite my apparently correct DB restoration?
- Cannot update custom database table row
- Creating user relationships
- Select two sums with single get_var statement
- How to get the SQL of the changes made to the database from an update or upgrade?
- Make an Items attribute searchable (taxonomy using existing attribute)
- Store partial database to an archive database time to time
- Migration: Copying database content to a different server
- How to convert srcset links from https to http?
- Combining user database tables while keeping all other data in seperate for multiple sites?
- Connect a membership plugin to an external database
- Storing user’s data on external database on other server
- is it right choose to connect database in template page directly in WordPress site?
- Is there a way to edit the WP content database in an admin panel or external page?
- SQL database import #1046 error
- Get all top categories, then only 3 posts for each
- Finding a page holding a specific string/URL that is used in the content
- next comment id number wordpress
- Backup Restore turns carriage returns to literal strings
- I have a WordPress 4.6 database dump – how do I use it in a new install?
- Check if a database is well installed
- WordPress + Postgresql
- Author ID mismatch from database
- MySQL Database User: Which Privileges are needed?
- Automatic add record after refreshing page
- SQL query : Select a thumbnail for a media
- WordPress API standard compliance and specification for external database [closed]
- Weird WP -Cli Error Connection Refused