How can I create a shortcode based on the current WordPress user?
I want to create a shortcode with conditions based on who the current user is I have the essence of my shortcode... function my_shortcode_function() { return 'here is the content of my shortcode!'; } add_shortcode('coolshortcodename', 'my_shortcode_function'); But I need to…