Current URL
-
hi,
How do I get current url of any BP page/component/etc..?
e.g., native WP get_permalink for example.com/username/profile/ shows example.com/members.
what should be used instead?
Edit:
don’t know how bad this method is, but `$_SERVER[“SERVER_NAME”] . $_SERVER[“REQUEST_URI”]` worked fine for me. From my unprofessional point, central wrapper would be easierP.S. Lost some minutes, because of “It looks like you’ve already said that!” – strange behavior + small mistake with you’ve.
thank you!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Current URL’ is closed to new replies.