wordpress插件开发中的plugins_url步骤

WBOY
Release: 2016-06-13 12:42:21
Original
1097 people have browsed it

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

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

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

请求帮助

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template