Home  >  Article  >  Backend Development  >  wordpress插件开发中的plugins_url步骤

wordpress插件开发中的plugins_url步骤

WBOY
WBOYOriginal
2016-06-13 12:42:211071browse

wordpress插件开发中的plugins_url方法
我在一个php文件中用plugins_url()这个方法,报错说未定义的方法
但在另一个php文件中就没问题,两个文件都在同一目录,

'?>这样是没问题的。这个文件是和html混合的

另一个文件是纯php文件,没有html。plugins_url('/securimage/securimage.php',__FILE__);这样一句话就会报错说是未定义的方法

请求帮助

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn