wphooks.info - edit_link

edit_link

(trunk - 5.0-alpha-42993)

The hook occurs in the following file:

wp-admin/includes/bookmark.php:
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
	wp_set_link_cats( $link_id, $link_category );

	if ( $update ) {
		/**
		 * Fires after a link was updated in the database.
		 *
		 * @since 2.0.0
		 *
		 * @param int $link_id ID of the link that was updated.
		 */
		do_action( 'edit_link', $link_id );
	} else {
		/**
		 * Fires after a link was added to the database.
		 *
		 * @since 2.0.0
		 *
		 * @param int $link_id ID of the link that was added.
		 */
		do_action( 'add_link', $link_id );