Browse: Home / Hooks /

learndash_post_type_progress_statuses

apply_filters( 'learndash_post_type_progress_statuses',  LearnDashCoreMappersProgressarray<string,string> $statuses,  string $post_type )

Filters the progress statuses for a specific post type.


Description #


Parameters #

$statuses

(<span class="LearnDashCoreMappersProgressarray">LearnDashCoreMappersProgressarray) Array of progress statuses with keys and labels. Empty array if no progress statuses are found for the post type.

$post_type

(string) The post type slug.


Return #

(LearnDashCoreMappersProgressarray<string,string>) Array of progress statuses with keys and labels. Empty array if no progress statuses are found for the post type.


Source #

File: src/Core/Mappers/Progress/Post_Type_Status.php


Changelog #

Changelog
Version Description
5.0.0 Introduced.