add_link

动作钩子


do_action( 'add_link', $link_id )
参数
  • (int)
    $link_id
    ID of the link that was added.
    Required:
定义位置
  • wp-admin/includes/bookmark.php
    , line 263
引入
2.0.0
弃用

Fires after a link was added to the database.

do_action( 'add_link', $link_id );