... register_block 注册一个块 register_compiler_function 注册编译函数 register_function 注册函数 ...
基于6个网页-相关网页
如果编译函数和普通函数都注册了同一个名字,则编译函数具有优先使用权。
If there is both a compiler function and a custom function registered under the same name, the compiler function has precedence.
注册一个在模板编译之前执行的预过滤器。如何设立预过滤函数,请查看模板预过滤器。
Use this to dynamically register prefilters to run templates through before they are compiled. See template prefilters for more information on how to setup a prefiltering function.
动态注册一个编译函数插件,前两个参数是编译函数的名称、执行函数的名称。
Use this to dynamically register a compiler function plugin. Pass in the compiler function name, followed by the PHP function that implements it.
应用推荐