redux-framework
redux-framework copied to clipboard
How to get page name and url from page selector?
Hi there
Can you help me how to get page Title & Url from page selector. Any help would be appreciated.
Thanks a lot...
The page selector saves the selected pages ID. You would treat the value as a postID and use the WP API to get any relevant data from it. For example, get_permalink would get the url.