foreach ( $buttons as $button ):
                    $href = isset( $button['href'] ) ? $button['href'] : '#';
                    $action = isset( $button['action'] ) ? 'data-action="' . esc_attr( $button['action'] ) . '"' : '';
                    $prompt = isset( $button['prompt'] ) ? $button['prompt'] : '';
                    ?>