wphooks.info - edit_link

edit_link

(trunk - 5.0-alpha-42177)

The hook occurs in the following file:

wp-admin/includes/bookmark.php:
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
	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 );