Site icon Hip-Hop Website Design and Development

How to insert current user ID/entry ID into a shortcode?

I’m wondering if someone can help with a code snippet for the functions.php.

I am using a plugin called Connections Pro with the extension Link, which connects the entries to the wordpress user. It has a shortcode that is very simple: [connections id=1] where after the number is the Entry ID ($entryID) that can be manually set for the single user that should be displayed.

I’d like it to instead be the Entry ID for the logged in user.

Any chance someone has an idea?