apply_filters( ‘wp_sprintf’, string $fragment, string $arg )

In this article

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

Description

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

Parameters

$fragmentstring
A fragment from the pattern.
$argstring
The argument.

Source

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

Changelog

VersionDescription
2.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.