A WordPress-centric search engine for devs and theme authors



_wp_privacy_action_description ›

Since4.9.6
Deprecatedn/a
_wp_privacy_action_description ( $request_type )
Access:
  • private
Returns:
  • (string)
Defined at:
Codex:

Get action description from the name.



Source

function _wp_privacy_action_description( $request_type ) {
	switch ( $request_type ) {
		case 'user_export_request':
			return __( 'Export Personal Data' );
		case 'user_remove_request':
			return __( 'Remove Personal Data' );
	}
}