Hello,
I did use the code mentionned in the knowledge base under the "Adding a Duplicate button to duplicate courses" title, I have a few questions about things that should maybe be added to the topic itself:
- it is not clear for me if this "hack" does or does not require the "Post-duplicator" extension in WordPress. By default my WP v4.3.1 does have a "duplicate" link for each post, installing that extension does add a second "duplicate cours" link, so now I'm not sure of which one of the links I should use to duplicate courses and which one is affected by the modified code.
- so I guess that another important information in regard to the previous question would be to mention if this code is meant for any version of WP and/or any version of Post-duplicator
So far my tests are ok regarding duplication but not ok regarding suppression of student metadata:
- the duplicate course still says "X students following this course" like the original one but if I click on "Members" for this course, it only shows the students that did buy it
- a student that did buy the first course but not the copy sees both courses in "My courses" and "All courses" (he should have 1 and 2, not 2 and 2), however the copied course cannot be taken, it has to be purchased first, so it's more a disturbing display problem than a flaw ..
Thanks
Pierre