Description
This function sets up the use of a custom dialog that has been added through the API using wpmem_add_custom_dialog().
This function is generally used in conjunction with the wpmem_msg_dialog_arr filter that filters the dialogs array when a message is being prepared.
Parameters
$defaults
(array) (required) Dialog message defaults from the wpmem_msg_dialog_arr filter.
$tag
(string) (required) The dialog tag/name.
$dialogs
(array) (required) The dialog settings array (passed through filter).
Return Values
(array) The dialogs settings array with the custom dialog added to the dialogs $msg array ($tag as array key).
Changelog
Introduced in version 3.1.1
Source
wpmem_use_custom_dialog() is located in /inc/api.php.