使用update_option()
结合get_option()
:
$old_option = get_option(\'blogdescription\');
$new_option = \'My new blog description\';
$new_option .= $old_option; // This is the same as $new_option = $new_option . $old_option;
update_option(\'blogdescription\', $new_option);
如果它们是整数,显然可以使用
$new_option += $old_option
.