Summery Summery
Get action description from the name and return a string.
Syntax Syntax
Parameters Parameters
- $action_name
-
(Required) Action name of the request.
Return Return
(string) Human readable action name.
Source Source
File: wp-includes/user.php
'post_date' => current_time( 'mysql', false ), 'post_date_gmt' => current_time( 'mysql', true ), ), true ); return $request_id; } /** * Get action description from the name and return a string. * * @since 4.9.6 * * @param string $action_name Action name of the request. * @return string Human readable action name. */ function wp_user_request_action_description( $action_name ) { switch ( $action_name ) { case 'export_personal_data': $description = __( 'Export Personal Data' ); break; case 'remove_personal_data': $description = __( 'Erase Personal Data' );
Advertisement
Changelog Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |