wphooks.info - transient_{$transient}

transient_{$transient}

(trunk - 5.1-alpha-44286)

The hook occurs in the following file:

wp-includes/option.php:
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
	 * Filters an existing transient's value.
	 *
	 * The dynamic portion of the hook name, `$transient`, refers to the transient name.
	 *
	 * @since 2.8.0
	 * @since 4.4.0 The `$transient` parameter was added
	 *
	 * @param mixed  $value     Value of transient.
	 * @param string $transient Transient name.
	 */
	return apply_filters( "transient_{$transient}", $value, $transient );
}

/**
 * Set/update the value of a transient.
 *
 * You do not need to serialize values. If the value needs to be serialized, then
 * it will be serialized before it is set.
 *
 * @since 2.8.0