apply_filters( 'learndash_course_previous_step_id', int $previous_post_id, WP_Post $post, WP_Post $previous_post )
Filters previous step ID for the course.
Parameters #
- $previous_post_id
-
(int)
Previous post ID.
- $post
-
(WP_Post)
Current post.
- $previous_post
-
(WP_Post)
Previous post.
Return #
(int) Previous step ID.
Changelog #
Changelog
| Version |
Description |
| 4.11.0 |
Introduced. |