added_option

动作钩子


do_action( 'added_option', $option, $value )
参数
  • (string)
    $option
    Name of the added option.
    Required:
  • (mixed)
    $value
    Value of the option.
    Required:
定义位置
  • wp-includes/option.php
    , line 708
引入
2.9.0
弃用

Fires after an option has been added.

do_action( 'added_option', $option, $value );