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 #
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 #
| Version | Description |
|---|---|
| 3.0.0 | Introduced. |