Browse: Home / Hooks /

learndash-alert-between-message-button

do_action( 'learndash-alert-between-message-button',  string $class,  string $icon,  string $message,  string $type )

Fires between alert message and button


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 #

File: themes/ld30/templates/modules/alert.php


Examples #

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

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

	},
	10,
	4
);
 

Changelog #

Changelog
Version Description
3.0.0 Introduced.