apply_filters( 'learndash_status_icon', string $markup, string $status, string $post_type, array $args, boolean $echo )

Filters status icon markup for the course element.


Description Description


Parameters Parameters

$markup

Icon markup.

$status

The current item's status.

$post_type

What post type we're checking against so this can be used for courses, lessons, topics, and quizzes.

$args

The arguments to get the status icon.

$echo

True to print the output and false to return the output.


Top ↑

Source Source

File: themes/ld30/includes/helpers.php


Top ↑

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.