wphooks.info - updated_option

updated_option

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-includes/option.php:
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
	/**
	 * Fires after the value of an option has been successfully updated.
	 *
	 * @since 2.9.0
	 *
	 * @param string $option    Name of the updated option.
	 * @param mixed  $old_value The old option value.
	 * @param mixed  $value     The new option value.
	 */
	do_action( 'updated_option', $option, $old_value, $value );
	return true;
}

/**
 * Add a new option.
 *
 * You do not need to serialize values. If the value needs to be serialized, then
 * it will be serialized before it is inserted into the database. Remember,
 * resources can not be serialized or added as an option.