Changeset 11221 for trunk/wp-includes/functions.php
- Timestamp:
- 05/06/2009 08:33:59 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r11204 r11221 472 472 * to set whether an option autoloaded, then you need to use the add_option(). 473 473 * 474 * Whenthe option is updated, then the filter named475 * ' update_option_$option_name', with the $option_name as the $option_name474 * Before the option is updated, then the filter named 475 * 'pre_update_option_$option_name', with the $option_name as the $option_name 476 476 * parameter value, will be called. The hook should accept two parameters, the 477 * first is the old parameter and the second is the new parameter. 477 * first is the new value and the second is the old value. Whatever is 478 * returned will be used as the new value. 479 * 480 * After the value has been updated the action named 'update_option_$option_name' 481 * will be called. This action receives two parameters the first being the old 482 * value and the second the new value. 478 483 * 479 484 * @since 1.0.0
Note: See TracChangeset
for help on using the changeset viewer.