Create a function that returns the currently logged-in user's data, like ID, username, email address, nickname, roles, etc. Return the data in an array.
January 31, 2024
Generated with
WPTurbo AI
A shortcode function that returns a list of the current user's roles they have assigned.
December 22, 2023
Generated with
WPTurbo AI
