A WordPress-centric search engine for devs and theme authors



wp_sprintf ›

Since2.5.0
Deprecatedn/a
apply_filters( 'wp_sprintf', $fragment, $arg )
Parameters: (2)
  • (string) $fragment A fragment from the pattern.
    Required: Yes
  • (string) $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 );