wpmem_msg_args

Description

This filter allows you to pass arguments to the error message function to override default values that are used in constructing error messages. The defaults consist of the html wrappers and the toggle that tells the function what error message is being displayed.

[php]$defaults = array(
‘div_before’ => ‘<div class="wpmem_msg" align="center">’,
‘div_after’ => ‘</div>’,
‘p_before’ => ‘<p>’,
‘p_after’ => ‘</p>’,
‘toggles’ => array(
‘user’,
’email’,
‘success’,
‘editsuccess’,
‘pwdchangerr’,
‘pwdchangesuccess’,
‘pwdreseterr’,
‘pwdresetsuccess’
)
);[/php]

Parameters

$args
(array) (required) An array of arguments that are to override form $defaults.

Changelog

Introduced in version 2.9.0

Source

wpmem_msg_args is located in wp-members-dialogs.php