Add a 'virtual page' from plugin
-
I’d like my plugin to be able to essentially create a virtual page at a given URL, say example.com/my-plugins-public-page, that I can run some code on and display some stuff. (NOT using wp_insert_post to create a page with that permalink)
I read the Codex for WP_Rewrite, but can’t really deduce how to do this. Any help?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Add a 'virtual page' from plugin’ is closed to new replies.