learndash_status_bubble

apply_filters( 'learndash_status_bubble',  string $bubble,  string $status )

Filters item status bubble markup.


Description #


Parameters #

$bubble

(string) Status bubble markup.

$status

(string) The current item status


Source #

File: themes/ld30/includes/helpers.php


Examples #

 <?php
/**
 * Example usage for learndash_status_bubble filter.
 */
add_filter(
	'learndash_status_bubble',
	function( $bubble, $status ) {
		// May add any custom logic using $bubble, $status.

		// Always return $bubble.
		return $bubble;
	},
	10,
	2
);