wpmem_add_custom_dialog()

Description

This function adds a custom dialog to the Dialogs tab that can be later used through wpmem_use_custom_dialog().

Parameters

$dialogs
(array) (required) The dialog settings array.

$tag
(string) (required) The dialog tag/name.

$msg
(string) (required) The default message.

$label
(string) (required) The label to be used on the Dialogs tab.

Return Values

(array) The dialogs settings array with custom message added.

Changelog

Introduced in version 3.1.1

Source

wpmem_add_custom_dialog() is located in /admin/admin.php.