Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我找到了“learndash_mark_complete”,但它显示了一个要完成的按钮。我想在几门课程中为少数用户以编程方式完成它
我相信您正在寻找 learndash_process_mark_complete() 函数,该函数根据 LearnDash “更新用户元数据并完成任何资源的状态”。
它接受以下参数: