user_request_action_description
Filter HookDescription
Filters the user action description.Hook Information
File Location |
wp-includes/user.php
View on GitHub
|
Hook Type | Filter |
Line Number | 4785 |
Hook Parameters
Type | Name | Description |
---|---|---|
string
|
$description
|
The default description. |
string
|
$action_name
|
The name of the request. |
Usage Examples
Basic Usage
<?php
// Hook into user_request_action_description
add_filter('user_request_action_description', 'my_custom_filter', 10, 2);
function my_custom_filter($description, $action_name) {
// Your custom filtering logic here
return $description;
}
Source Code Context
wp-includes/user.php:4785
- How this hook is used in WordPress core
<?php
4780 * @since 4.9.6
4781 *
4782 * @param string $description The default description.
4783 * @param string $action_name The name of the request.
4784 */
4785 return apply_filters( 'user_request_action_description', $description, $action_name );
4786 }
4787
4788 /**
4789 * Send a confirmation request email to confirm an action.
4790 *
PHP Documentation
<?php
/**
* Filters the user action description.
*
* @since 4.9.6
*
* @param string $description The default description.
* @param string $action_name The name of the request.
*/
Quick Info
- Hook Type: Filter
- Parameters: 2
- File: wp-includes/user.php
Related Hooks
Related hooks will be displayed here in future updates.