Notice_Handler::get_messages()

Fetches the array of all messages available to display.


Return

(array[])


Top ↑

Source

File: src/Tickets/Commerce/Notice_Handler.php

	public function get_messages() {
		$messages = [];

		/**
		 * Filters the available notice messages.
		 *
		 * @since 5.2.0
		 *
		 * @param array $messages Array of notice messages.
		 */
		return (array) apply_filters( 'tec_tickets_commerce_notice_messages', $messages );
	}

Top ↑

Changelog

Changelog
Version Description
5.2.0 Introduced.