apply_filters( 'wp_sprintf', string $fragment, string $arg )

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

$fragment

A fragment from the pattern.

$arg

The argument.


Source

File: wp-includes/formatting.php

View on GitHub



Changelog

Changelog
Version Description
WP-2.5.0 Introduced.