update_option

Advertisement

Summery Summery

Fires immediately before an option value is updated.

Syntax Syntax

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

Parameters Parameters

$option

Name of the option to update.

$old_value

The old option value.

$value

The new option value.

Source Source

File: wp-includes/option.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.9.0 Introduced.

Advertisement

Leave a Reply