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

Should I use include(_once) or require(_once) for loading php-file with customizer settings?

programmeradmin1浏览0评论

Should I use include, include_once, require or require_once to load my customizer.php file? That file has all customizer settings and code in it. What is your advice on this?

The file is currently being loaded with include() in the functions.php.

And can I use a fallback? For all situations that I can't predict, when the customizer.php file fails to load?

发布评论

评论列表(0)

  1. 暂无评论