get_bookmark_field [ WordPress Function ]
get_bookmark_field ( $field, $bookmark, $context = 'display' )
| Parameters: |
|
| Uses: | |
| Returns: |
|
| Defined at: |
|
Soorgelijke functies: get_bookmark, sanitize_bookmark_field, get_bookmarks, edit_bookmark_link, get_edit_bookmark_link
Retrieve single bookmark data item or field.
Source
<?php
function get_bookmark_field( $field, $bookmark, $context = 'display' ) {
$bookmark = (int) $bookmark;
$bookmark = get_bookmark( $bookmark );
if ( is_wp_error($bookmark) )
return $bookmark;
if ( !is_object($bookmark) )
return '';
if ( !isset($bookmark->$field) )
return '';
return sanitize_bookmark_field($field, $bookmark->$field, $bookmark->link_id, $context);
}
?>
Examples [ wp-snippets.com ]
Top Google zoekresultaten
- Function Reference/get bookmark field « WordPress Codex
Description. Retrieve single bookmark data item or field. Usage. <?php get_bookmark_field( $field, $bookmark, $context ); ?> Parameters. $field: (string) ...
codex.wordpress.org - PHPXRef 0.7 : WordPress : Function Reference: get_bookmark_field()
Function and Method Cross Reference. get_bookmark_field(). Defined at: /wp- includes/bookmark.php -> line 54. No references found.
phpxref.ftwr.co.uk - get_bookmark_field() WordPress function reference, arguments and ...
get_bookmark_field( $field, $bookmark, $context = 'display' ). field: (string) The name of the data field to return; bookmark: (int) The bookmark ID to get field ...
queryposts.com - get_bookmark_field (WordPress Function) - WPSeek.com
WordPress lookup for get_bookmark_field, a WordPress Function. wpseek.com is a WordPress-centric search tool for developers and theme authors.
wpseek.com