Getting page content from a function?

How can I generate a “custom” page which gets its content from a function?
I see there are two functions, add_menu_page and add_submenu_page, but these only work for the admin section. I cant find any similar functions for adding pages to the ‘main’ section.

Any ideas?

Read more here:: Getting page content from a function?

Leave a Reply

Your email address will not be published. Required fields are marked *