This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Custom shortcode to display forms of all submitted entries for current user. | |
* | |
* Usage [wpforms_display_user_entries] | |
* | |
*/ | |
function ws_display_user_entries() { | |
global $current_user; | |
get_currentuserinfo(); | |
$email = (string) $current_user->user_email; |