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

The message template to display on user changes for an API.


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/Event_Automator/Zapier/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.0.0 Introduced.