pre_set_transient_{$transient}

pre_set_transient_{$transient}

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

See hook in core

Displaying hooks found in version: wordpress-6.7

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

  • /wp-includes/option.php line 1517
    	 * @param mixed  $value      New value of transient.
    	 * @param int    $expiration Time until expiration in seconds.
    	 * @param string $transient  Transient name.
    	 */
    	$value = apply_filters( "pre_set_transient_{$transient}", $value, $expiration, $transient );
    
    	/**
    	 * Filters the expiration for a transient before its value is set.
    	 *
    	 * The dynamic portion of the hook name, `$transient`, refers to the transient name.
    	 *