Modal::get_modal_button( array $args = array() )

Get the default modal button.


Parameters

$args

(array) (Optional) Override default args by sending them in the $args.

Default value: array()


Top ↑

Return

(string) The modal button.


Top ↑

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 );
	}

Top ↑

Changelog

Changelog
Version Description
5.10.0 Introduced.