Browse: Home / Hooks /

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 #

Note: Extended code example below not guaranteed, you may need to consult with a developer

 <?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
);
 

Changelog #

Changelog
Version Description
3.0.0 Introduced.