Skip to content

Commit 62de5c6

Browse files
author
Obi Juan
committed
Adds to the README file.
1 parent 4a21211 commit 62de5c6

1 file changed

Lines changed: 21 additions & 1 deletion

File tree

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,22 @@
1-
# wishlist-completed-contents
1+
# Wishlist Completed Contents
22
Display a list of completed contents from Wishlist's CourseCure for a specific user in the account's profile page.
3+
4+
## Motivation
5+
6+
The CourseCure companion plugin of Wishlist Member tracks the user's completed contents, but does not display all the completed contents of a specific user in an easy-to-access way.
7+
8+
The completed contents are stored in the usermeta table. You can easily retrieve these for the current logged-in user with:
9+
10+
get_user_meta(get_the_user_id(), 'completed_contents', true);
11+
12+
Wishlist Completed Contents uses this, and builds a simple table with useful details like:
13+
14+
- Post ID.
15+
- Post Title.
16+
- Post Type.
17+
- Timestamp. (The time the specific content was completed).
18+
- Post Actions: Edit. View.
19+
20+
## Uses
21+
22+
This can be used to easily find the tracked completed contents for each specific user on your website.

0 commit comments

Comments
 (0)