add_link action-hook . WP 2.0.0
Fires after a link was added to the database.
Usage
add_action( 'add_link', 'action_function_name_3433' ); function action_function_name_3433( $link_id ){ // action... }
- $link_id(int)
- ID of the link that was added.
Changelog
Since 2.0.0 | Introduced. |
Where the hook is called
add_link
wp-admin/includes/bookmark.php 264
do_action( 'add_link', $link_id );