To get the current user role in WordPress you need first to check if the user is logged in then use the wp_get_current_user() function to retrieve the data ...
確定! 回上一頁