Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_sprintf ›

Desde2.5.0
Obsoleton/a
apply_filters( 'wp_sprintf', $fragment, $arg )
Parâmetros: (2)
  • (string) $fragment A fragment from the pattern.
    Required: Yes
  • (string) $arg The argument.
    Required: Yes
Definido em:
Codex:

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

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





Fonte

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