Bulk Editing Courses, Lessons and Groups in LearnDash
How the LearnDash Bulk Edit tool works: where it is, the filters for selecting courses, lessons and groups, the handful of fields it can change, the affected-count preview, and how to add more fields with the filters.

Changing one setting on two hundred lessons by hand is the kind of task that makes administrators look for a database query. LearnDash 4.18.0.1 includes a Bulk Edit tool for exactly this, tucked under the Advanced settings tab. It is deliberately narrow: it changes a few specific settings on courses, lessons and groups selected by filters, shows you how many posts will be affected before it runs, and can be extended by developers. This guide covers what it can and cannot do and how to use it safely.
Where it is
Go to LearnDash LMS, Settings, Advanced, and open the Bulk Edit section. You choose a post type, build a set of filters to select posts, tick the fields you want to change and set their new values, and run the action. Before anything is written the tool asks the server how many posts match your filters and shows that number, so you can confirm the selection is what you meant. Only administrators can use it.
What you can select by
Every post type offers three basic filters: title, which matches a substring; ID, for a specific list; and status, so you can target published posts only or include drafts. On top of those:
- Courses add an Access Mode filter, so you can select every Open course, every Buy now course and so on.
- Groups add the same Access Mode filter for groups.
- Lessons add Video Progression, on or off, Video Resume, on or off, and, when shared course steps are disabled, the parent course, so you can select all lessons in one course.
Filters combine, so "published lessons in course 42 with Video Progression on" is a single selection.
What you can change
This is where the tool is narrower than its name suggests:
- Courses: Access Mode only, meaning Open, Free, Buy now, Recurring or Closed. The price, billing cycle and other access settings are not editable in bulk.
- Groups: Access Mode only.
- Lessons: the video progression options Video Auto Start, Video Show Controls, Video Pause on Window Unfocused and Video Resume. Turning Video Progression itself on or off is a filter but not an editable field, because the video URL is per lesson.
Each field is rendered with the same control it has on the single edit screen, and only ticked fields are written; the others are left untouched on every post. The video options are explained in our guide to LearnDash video progression options.
Running an edit safely
- Back up first. There is no undo. A database backup or a staging copy is the only way back.
- Build the filters and read the count. If the number is higher than you expected, add an ID or title filter to narrow it, or run it on a few posts first by listing their IDs.
- Tick only the fields you mean to change. An unticked field is skipped; a ticked field is written to every matching post with the value shown, even if the value is the control's default.
- Run, then spot check three posts from the selection, including one that was a draft if you included drafts.
- Clear caches that hold course settings, such as object caches and page caches on course pages, because access mode changes affect what visitors see.
Access mode changes and enrolment
Switching a course from Buy now to Closed does not remove anyone's access, and switching to Open does not enrol anyone; the mode governs how new visitors get in, not who is already in. Switching to Free hides the gateway buttons immediately, so run that change outside busy hours if learners are mid-checkout. Changing many courses to Recurring is possible, but each still needs its own price and billing cycle set by hand, because those fields are not in the tool.
Extending it
Three filters open the tool up. learndash_bulk_edit_fields lets you add fields from the post type's settings metaboxes to the editable set, for example the course price or the lesson release schedule; the field must exist in a LearnDash settings metabox because the tool renders and saves it through that metabox's definition. learndash_bulk_edit_filters adds selection filters, built with the admin filter factory, for example a taxonomy or a custom meta value. learndash_bulk_edit_classes registers a whole new action for another post type, such as topics or quizzes. Adding the course price to the editable fields looks like this in outline:
<?php
add_filter(
'learndash_bulk_edit_fields',
function ( $fields, $action ) {
if ( 'sfwd-courses' !== $action->get_post_type() ) {
return $fields;
}
$metabox = LearnDash_Settings_Metabox::get_metabox_instance( 'LearnDash_Settings_Metabox_Course_Access_Settings' );
if ( ! $metabox ) {
return $fields;
}
$metabox_fields = $metabox->get_settings_metabox_fields();
if ( isset( $metabox_fields['course_price'] ) ) {
$fields[] = new Learndash_Admin_Bulk_Edit_Field( $metabox_fields['course_price']['args'] );
}
return $fields;
},
10,
2
);
Test any added field on a staging site, because fields with dependent settings, such as a price that only applies to certain access modes, can be written to posts where they have no effect.
What to use instead
For settings the tool does not cover, the options are WP-CLI with the LearnDash settings functions, a one-off script using learndash_update_setting(), or a direct meta update for simple cases. Enrolling or removing many users is a different task, handled by groups and the course Users tab rather than by Bulk Edit; our guide to creating groups and enrolling users covers that. Moving content between sites is the Import/Export tool's job, covered in moving courses, users and progress between sites.
When to get help
The built-in fields take minutes to apply. Adding fields through the filters, or writing a safe script for a setting outside the metaboxes, is a short development task our LearnDash services team handles; a LearnDash developer can also run a large change on staging with a comparison report before touching production.
Frequently asked questions
Can Bulk Edit change course prices?
Not out of the box. Courses and groups expose Access Mode only. A developer can add the price field with the bulk edit fields filter.
Does changing Access Mode in bulk unenrol learners?
No. Access mode affects how new learners get in. Existing enrolments are untouched.
Is there an undo?
No. Take a database backup before running, and use the affected count to check the selection.
Can I bulk edit topics or quizzes?
Not by default. The tool covers courses, lessons and groups; other post types need a custom action registered through the bulk edit classes filter.
Add worldwincoder.com as a preferred source on Google, or open this article in your AI assistant to use it as a source.
