edit_link action-hookWP 2.0.0

Fires after a link was updated in the database.

Usage

add_action( 'edit_link', 'wp_kama_edit_link_action' );

/**
 * Function for `edit_link` action-hook.
 * 
 * @param int $link_id ID of the link that was updated.
 *
 * @return void
 */
function wp_kama_edit_link_action( $link_id ){

	// action...
}
$link_id(int)
ID of the link that was updated.

Changelog

Since 2.0.0 Introduced.

Where the hook is called

wp_insert_link()
edit_link
wp-admin/includes/bookmark.php 253
do_action( 'edit_link', $link_id );

Where the hook is used in WordPress

Usage not found.