| 90 | | * 'orderby' - Default is 'name' (string). How to order the links by. String is based off of the bookmark scheme. |
|---|
| 91 | | * 'order' - Default is 'ASC' (string). Either 'ASC' or 'DESC'. Orders in either ascending or descending order. |
|---|
| 92 | | * 'limit' - Default is -1 (integer) or show all. The amount of bookmarks to display. |
|---|
| 93 | | * 'category' - Default is empty string (string). Include the links in what category ID(s). |
|---|
| 94 | | * 'category_name' - Default is empty string (string). Get links by category name. |
|---|
| 95 | | * 'hide_invisible' - Default is 1 (integer). Whether to show (default) or hide links marked as 'invisible'. |
|---|
| 96 | | * 'show_updated' - Default is 0 (integer). Will show the time of when the bookmark was last updated. |
|---|
| 97 | | * 'include' - Default is empty string (string). Include other categories separated by commas. |
|---|
| 98 | | * 'exclude' - Default is empty string (string). Exclude other categories separated by commas. |
|---|
| | 90 | * 'orderby' - Default is 'name' (string). How to order the links by. String is |
|---|
| | 91 | * based off of the bookmark scheme. |
|---|
| | 92 | * 'order' - Default is 'ASC' (string). Either 'ASC' or 'DESC'. Orders in either |
|---|
| | 93 | * ascending or descending order. |
|---|
| | 94 | * 'limit' - Default is -1 (integer) or show all. The amount of bookmarks to |
|---|
| | 95 | * display. |
|---|
| | 96 | * 'category' - Default is empty string (string). Include the links in what |
|---|
| | 97 | * category ID(s). |
|---|
| | 98 | * 'category_name' - Default is empty string (string). Get links by category |
|---|
| | 99 | * name. |
|---|
| | 100 | * 'hide_invisible' - Default is 1 (integer). Whether to show (default) or hide |
|---|
| | 101 | * links marked as 'invisible'. |
|---|
| | 102 | * 'show_updated' - Default is 0 (integer). Will show the time of when the |
|---|
| | 103 | * bookmark was last updated. |
|---|
| | 104 | * 'include' - Default is empty string (string). Include other categories |
|---|
| | 105 | * separated by commas. |
|---|
| | 106 | * 'exclude' - Default is empty string (string). Exclude other categories |
|---|
| | 107 | * separated by commas. |
|---|
| 257 | | * sanitize_bookmark_field() - Sanitizes a bookmark field |
|---|
| 258 | | * |
|---|
| 259 | | * Sanitizes the bookmark fields based on what the field name is. If the field has a |
|---|
| 260 | | * strict value set, then it will be tested for that, else a more generic filtering is |
|---|
| 261 | | * applied. After the more strict filter is applied, if the $context is 'raw' then the |
|---|
| 262 | | * value is immediately return. |
|---|
| 263 | | * |
|---|
| 264 | | * Hooks exist for the more generic cases. With the 'edit' context, the 'edit_$field' |
|---|
| 265 | | * filter will be called and passed the $value and $bookmark_id respectively. With the |
|---|
| 266 | | * 'db' context, the 'pre_$field' filter is called and passed the value. The 'display' |
|---|
| 267 | | * context is the final context and has the $field has the filter name and is passed the |
|---|
| 268 | | * $value, $bookmark_id, and $context respectively. |
|---|
| | 268 | * Sanitizes a bookmark field |
|---|
| | 269 | * |
|---|
| | 270 | * Sanitizes the bookmark fields based on what the field name is. If the field |
|---|
| | 271 | * has a strict value set, then it will be tested for that, else a more generic |
|---|
| | 272 | * filtering is applied. After the more strict filter is applied, if the |
|---|
| | 273 | * $context is 'raw' then the value is immediately return. |
|---|
| | 274 | * |
|---|
| | 275 | * Hooks exist for the more generic cases. With the 'edit' context, the |
|---|
| | 276 | * 'edit_$field' filter will be called and passed the $value and $bookmark_id |
|---|
| | 277 | * respectively. With the 'db' context, the 'pre_$field' filter is called and |
|---|
| | 278 | * passed the value. The 'display' context is the final context and has the |
|---|
| | 279 | * $field has the filter name and is passed the $value, $bookmark_id, and |
|---|
| | 280 | * $context respectively. |
|---|