I wrote a plugin that stored table wp_example(id, title, content, desc)
. It doesn't use post/page
type.
I want to add a link to the fontend, like index.php?option=my_plugin&show=all
. If I use this link, it should call my function in the plugin, and show data table wp_example
.
Is it possible?
When I use this link: index.php?option=my_plugin&show=all
, my browser shows a 404
page.