WordPress at a glance
filter is not described

pre_set_site_transient_(transient) filter-hook . WP 3.0.0

Filters the value of a specific site transient before it is set.

The dynamic portion of the hook name, $transient, refers to the transient name.

Usage

add_filter( 'pre_set_site_transient_(transient)', 'filter_function_name_5843', 10, 2 );
function filter_function_name_5843( $value, $transient ){
	// filter...

	return $value;
}
$value(mixed)
New value of site transient.
$transient(string)
Transient name.

Notes

  • Since 4.4.0 The $transient parameter was added.

Where the hook is called

set_site_transient()
wp-includes/option.php 1750
$value = apply_filters( "pre_set_site_transient_{$transient}", $value, $transient );

Where the hook is used (in WP core)

Does not used.