wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



get_link › WordPress Function

Da2.0.0
Deprecato2.1.0
get_link ( $bookmark_id, $output = OBJECT, $filter = 'raw' )
Parametri: (3)
  • (int) $bookmark_id ID of link
    Richiesto:
  • (string) $output Optional. Type of output. Accepts OBJECT, ARRAY_N, or ARRAY_A. Default OBJECT.
    Richiesto: No
    Default: OBJECT
  • (string) $filter Optional. How to filter the link for output. Accepts 'raw', 'edit', 'attribute', 'js', 'db', or 'display'. Default 'raw'.
    Richiesto: No
    Default: 'raw'
Vedi:
Ritorna:
  • (object|array) Bookmark object or array, depending on the type specified by `$output`.
Definito a:
Codex:

Retrieves bookmark data based on ID.



Sorgenti

function get_link( $bookmark_id, $output = OBJECT, $filter = 'raw' ) {
	_deprecated_function( __FUNCTION__, '2.1.0', 'get_bookmark()' );
	return get_bookmark($bookmark_id, $output, $filter);
}