wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_sprintf › WordPress过滤钩子

Since2.5.0
已弃用n/a
› apply_filters( 'wp_sprintf', $fragment, $arg )
参数: (2)
  • () fragment A fragment from the pattern.
    Required: Yes
  • () arg The argument.
    Required: Yes
定义在:
文档:

Filters a fragment from the pattern passed to wp_sprintf().

If the fragment is unchanged, then sprintf() will be run on the fragment.




源码

$_fragment = apply_filters( 'wp_sprintf', $fragment, $arg );