apply_filters( 'ld-alert-button', array $button )
Filters alert button data.
Contents
Description #
Parameters #
- $button
-
(array) An array of alert button data.
Source #
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; } );