I am working with Custom Post Type, creating classes and courses. When the course is scheduled as a draft it does not let me select it as the parent of the classes.
How can I do an UPDATE to specify the father at the ID level?
That is, by clicking on "Schedule class", the ID of your parent course will be automatically modified in the DB.