Template_Modifications::get_settings_message_template( string $message, string $type = 'updated' )

The message template to display on user account changes.


Parameters

$message

(string) (Required) The message to display.

$type

(string) (Optional) The type of message, either updated or error.

Default value: 'updated'


Top ↑

Return

(string) The message with html to display


Top ↑

Source

File: src/Tribe/Template_Modifications.php

	public function get_settings_message_template( $message, $type = 'updated' ) {
		return $this->admin_template->template( 'components/message', [
			'message' => $message,
			'type'    => $type,
		] );
	}

Top ↑

Changelog

Changelog
Version Description
1.5.0 Introduced.