How to get a specific string from a url


I am creating a custom WordPress theme and i am little stuck in one situation . what i want is that
get the name : paulwoods in a $variable.
Note every-time there is new name instead of paulwoods, when i click on a post.
Does anybody have a clue how can i get it ?
I searched on google but no relevant problems found, and also i don’t have any clue to do that.

, , , , Almight Hacker 3 years 2020-08-28T07:11:01-05:00 0 Answers 51 views 0

Leave an answer