user_request_action_description filter-hookWP 4.9.6

Filters the user action description.

Usage

add_filter( 'user_request_action_description', 'wp_kama_user_request_action_description_filter', 10, 2 );

/**
 * Function for `user_request_action_description` filter-hook.
 * 
 * @param string $description The default description.
 * @param string $action_name The name of the request.
 *
 * @return string
 */
function wp_kama_user_request_action_description_filter( $description, $action_name ){

	// filter...
	return $description;
}
$description(string)
The default description.
$action_name(string)
The name of the request.

Changelog

Since 4.9.6 Introduced.

Where the hook is called

wp_user_request_action_description()
user_request_action_description
wp-includes/user.php 4660
return apply_filters( 'user_request_action_description', $description, $action_name );

Where the hook is used in WordPress

Usage not found.