Browse: Home / Functions /


learndash_format_step_post_title_with_status_label( object $post,  array $skip_statuses = array('publish'),  string $before_label = '(',  string $after_label = ')' )

Get the post title formatted with post status label.

Description #

Parameters #


(object) (Required) WP_Post object.


(array) (Optional) Array of post_stati to skip.

Default value: array('publish')


(string) (Optional) String to prepend to the status label.

Default value: '('


(string) (Optional) String to append to the status label.

Default value: ')'

Return #

(string) Formatted post title.

Source #

File: includes/course/ld-course-steps-functions.php

Changelog #

Version Description
4.0.0 Introduced.