Last active
November 5, 2022 00:44
-
-
Save reachkamrul/6d341dde9df0e8205fa980a22737264b to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
* Get user id | |
* {my_id} | |
*/ | |
add_filter('fluentform_editor_shortcode_callback_my_id', function ($val) { | |
$current_user_id = get_current_user_id(); | |
return $current_user_id; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment