wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren
get_edit_bookmark_link › WordPress Function
Seit2.7.0
Veraltetn/v
› get_edit_bookmark_link ( $link = 0 )
| Parameter: |
|
| Gibt zurück: |
|
| Definiert in: |
|
| Codex: |
Displays the edit bookmark link.
Ähnliche Funktionen: edit_bookmark_link, get_edit_tag_link, get_edit_post_link, get_edit_term_link, get_edit_user_link
Quellcode
function get_edit_bookmark_link( $link = 0 ) {
$link = get_bookmark( $link );
if ( ! current_user_can( 'manage_links' ) ) {
return;
}
$location = admin_url( 'link.php?action=edit&link_id=' ) . $link->link_id;
/**
* Filters the bookmark edit link.
*
* @since 2.7.0
*
* @param string $location The edit link.
* @param int $link_id Bookmark ID.
*/
return apply_filters( 'get_edit_bookmark_link', $location, $link->link_id );
}