ld-alert-button

apply_filters( 'ld-alert-button',  array $button )

Filters alert button data.


Description #


Parameters #

$button

(array) An array of alert button data.


Source #

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


Examples #

 <?php
/**
 * Example usage for ld-alert-button filter.
 */
add_filter(
	'ld-alert-button',
	function( $button ) {
		// May add any custom logic using $button.

		// Always return $button.
		return $button;
	}
);