mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 09:10:06 +00:00
Docs: First pass at some inline docs fixes mostly made by PHPCBF.
See #49572, #50744 git-svn-id: https://develop.svn.wordpress.org/trunk@48586 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -14,9 +14,10 @@
|
||||
* @global wpdb $wpdb WordPress database abstraction object.
|
||||
*
|
||||
* @param int|stdClass $bookmark
|
||||
* @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond to
|
||||
* an stdClass object, an associative array, or a numeric array, respectively. Default OBJECT.
|
||||
* @param string $filter Optional. How to sanitize bookmark fields. Default 'raw'.
|
||||
* @param string $output Optional. The required return type. One of OBJECT, ARRAY_A, or ARRAY_N, which correspond
|
||||
* to an stdClass object, an associative array, or a numeric array, respectively.
|
||||
* Default OBJECT.
|
||||
* @param string $filter Optional. How to sanitize bookmark fields. Default 'raw'.
|
||||
* @return array|object|null Type returned depends on $output value.
|
||||
*/
|
||||
function get_bookmark( $bookmark, $output = OBJECT, $filter = 'raw' ) {
|
||||
@@ -68,9 +69,9 @@ function get_bookmark( $bookmark, $output = OBJECT, $filter = 'raw' ) {
|
||||
*
|
||||
* @since 2.3.0
|
||||
*
|
||||
* @param string $field The name of the data field to return
|
||||
* @param int $bookmark The bookmark ID to get field
|
||||
* @param string $context Optional. The context of how the field will be used.
|
||||
* @param string $field The name of the data field to return.
|
||||
* @param int $bookmark The bookmark ID to get field.
|
||||
* @param string $context Optional. The context of how the field will be used.
|
||||
* @return string|WP_Error
|
||||
*/
|
||||
function get_bookmark_field( $field, $bookmark, $context = 'display' ) {
|
||||
|
||||
Reference in New Issue
Block a user