do_action( 'learndash-alert-between-message-button', string $class, string $icon, string $message, string $type )
Fires between alert message and button
Contents
Description #
Parameters #
- $class
-
(string) List of alert CSS classes.
- $icon
-
(string) List of alert icon CSS classes.
- $message
-
(string) Alert message text.
- $type
-
(string) Alert message type.
Source #
Examples #
<?php /** * Example usage for learndash-alert-between-message-button action. */ add_action( 'learndash-alert-between-message-button', function( $class, $icon, $message, $type ) { // May add any custom logic using $class, $icon, $message, $type echo '<div>Custom content or markup</div>'; }, 10, 4 );
Changelog #
Version | Description |
---|---|
3.0.0 | Introduced. |