do_action( 'update_option', string $option, mixed $old_value, mixed $value )

Fires immediately before an option value is updated.


Description Description


Parameters Parameters

$option

(string) Name of the option to update.

$old_value

(mixed) The old option value.

$value

(mixed) The new option value.


Top ↑

Source Source

File: wp-includes/option.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.