How can I make users add custom post type to their profile?

Question

I have a custom post type called “exercise” with custom fields via ACF.

In the front-end, inside the custom post type, I want to display a button where users can mark current viewed exercise as completed and then this status will be saved to that specific user. Users who have marked exercises as completed, can view them in their woocommerce profile. Also, they can remove them from their woocommerce pofile or from within the custom post type “exercise” as then status will be reset to not completed.

How can that be achieved?

0
, , , mustafa 1 year 2020-07-25T16:10:47-05:00 0 Answers 48 views 0

Leave an answer

Browse
Browse