pre_set_site_transient_{$transient}

pre_set_site_transient_{$transient}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('pre_set_site_transient_{$transient}') is found 1 times:

  • /wp-includes/option.php line 2610
    	 *
    	 * @param mixed  $value     New value of site transient.
    	 * @param string $transient Transient name.
    	 */
    	$value = apply_filters( "pre_set_site_transient_{$transient}", $value, $transient );
    
    	$expiration = (int) $expiration;
    
    	/**
    	 * Filters the expiration for a site transient before its value is set.
    	 *