Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: edit_bookmark_link

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
1374
1375      /**
1376       * Filter the bookmark edit link anchor tag.
1377       *
1378       * @since 2.7.0
1379       *
1380       * @param string $link    Anchor tag for the edit link.
1381       * @param int    $link_id Bookmark ID.
1382       */
1383      echo $before . apply_filters( 'edit_bookmark_link', $link, $bookmark->link_id ) . $after;
1384 }
1385
1386 /**
1387  * Retrieve edit user link
1388  *
1389  * @since 3.5.0
1390  *
1391  * @param int $user_id Optional. User ID. Defaults to the current user.
1392  * @return string URL to edit user page or empty string.