Reply To: [Resolved] Logged-In User Profile Link URL
Shortcodes are used by WordPress since version 2.5.
https://codex.wordpress.org/Shortcode
https://codex.wordpress.org/Shortcode_API
To use the above snippet, you copy/paste it into your child-theme functions.php.
And you use the shortcode like this [myprofileurl] within post or comments.
Bla bla bla [myprofileurl] bla bla… will print out Bla bla bla My Profile bla bla…
I hope for you that you want to write something else before My profile as bla bla bla 😉