最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

query string - Display plugin-generated content to override a placeholder page

programmeradmin2浏览0评论

I am building a plugin, but despite several search parameters, I cannot figure out how to replace a page's content with custom content generated by my plugin.

I have already written several shortcodes and widgets, but I'd like to replace the whole page.

The best example I have is CiviCRM. When the plugin gets installed, it generates a placeholder page which is replaced by custom content, I believe based on the query string.

I assume there's an add_action or similar add_ function I need to call for the plugin function to be called when the page loads.

发布评论

评论列表(0)

  1. 暂无评论