Modal::get_modal_button( array $args = array() )
Get the default modal button.
Contents
Parameters
- $args
-
(array) (Optional) Override default args by sending them in the
$args.Default value: array()
Return
(string) The modal button.
Source
File: src/Tickets/Admin/Attendees/Modal.php
public static function get_modal_button( $args = [] ): string {
$args = self::get_modal_button_args( $args );
$dialog_view = tribe( 'dialog.view' );
return $dialog_view->template( 'button', $args, false );
}
Changelog
| Version | Description |
|---|---|
| 5.10.0 | Introduced. |