Template_Modifications::get_settings_message_template( string $message, string $type = 'updated' )
The message template to display on user changes for an API.
Contents
Parameters
- $message
-
(string) (Required) The message to display.
- $type
-
(string) (Optional) The type of message, either updated or error.
Default value: 'updated'
Return
(string) The message with html to display
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, ] ); }
Changelog
Version | Description |
---|---|
1.0.0 | Introduced. |