wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_sprintf › WordPress Filter Hooks

Since2.5.0
Deprecatedn/a
apply_filters( 'wp_sprintf', $fragment, $arg )
Parameters: (2)
  • () fragment A fragment from the pattern.
    Required: Yes
  • () arg The argument.
    Required: Yes
Defined at:
Codex:

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

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




Source

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