Browse: Home / Hooks /

learndash_course_previous_step_id

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.


Description #


Parameters #

$previous_post_id

(int) Previous post ID.

$post

(WP_Post) Current post.

$previous_post

(WP_Post) Previous post.


Return #

(int) Previous step ID.


Source #

File: includes/course/ld-course-navigation.php


Changelog #

Changelog
Version Description
4.11.0 Introduced.