Friday, February 10, 2023
HomeWordPress Developmentphp - Methods to add customized person function into wordpress

php – Methods to add customized person function into wordpress


I added this code snippet to my operate.php to create a person however after logging with this function I am unable to edit the learndash course classes quizzes…

add_role( 'learndash_content_manager', 'Learndash Content material Supervisor', array(
    'learn' => true,
    'manage_options' => true,
    'edit_posts' => true,
    'edit_others_posts' => true,
    'edit_files' => true,
    'publish_posts' => true,
    'delete_posts' => true,
    'delete_others_posts' => true,
    'manage_categories' => true,
    'edit_ld_courses' => true,
    'edit_ld_lessons' => true,
    'edit_ld_topics' => true,
    'edit_ld_quizzes' => true,
    'edit_ld_questions' => true,
    'manage_links' => true,
    'manage_options' => true,
    'post_manage_options' => true,
    'edit_published_ld_courses' => true
));

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

- Advertisment -
Google search engine

Most Popular

Recent Comments