WordPress at Your Fingertips
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.


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

	return $value;
New value of site transient.
Transient name.


Since 3.0.0 Introduced.
Since 4.4.0 The $transient parameter was added.

Where the hook is called

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

Where in WP core the hook is used WordPress

Usage not found.