user_request_action_description
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
user_request_action_description
wp-includes/user.php 4720
return apply_filters( 'user_request_action_description', $description, $action_name );