| [ Index ] |
PHP Cross Reference of zeList |
[Source view] [Print] [Project Stats]
(no description)
| File Size: | 215 lines (7 kb) |
| Included or required: | 0 times |
| Referenced: | 0 times |
| Includes or requires: | 0 files |
| wp_get_link_tags( $link_id = 0, $args = array() X-Ref |
| Retrieve the tags for a link. There is only one default for this function, called 'fields' and by default is set to 'all'. There are other defaults that can be override in {@link wp_get_object_terms()}. param: int $link_id Optional. The link ID param: array $args Optional. Overwrite the defaults return: array List of link tags. |
| get_link_tags_to_edit( $link_id ) X-Ref |
| Return link tags in edit context param: unknown_type $link_id return: unknown |
| wp_set_link_tags( $link_id = 0, $tags = '', $append = false ) X-Ref |
| Set the tags for a link. param: int $link_id link ID. param: string $tags The tags to set for the link, separated by commas. param: bool $append If true, don't delete existing tags, just add on. If false, replace the tags with the new tags. return: bool|null Will return false if $link_id is not an integer or is 0. Will return null otherwise |
| _update_link_term_count( $terms ) X-Ref |
| Will update term count based on links. Private function for the default callback for link_tag and category taxonomies. param: array $terms List of Term taxonomy IDs |
| get_edit_link_tag_link( $tag_id = 0 ) X-Ref |
| Return edit link for a link tag param: $tag_id return: unknown_type |
| get_link_tag_link( $tag_id ) X-Ref |
| Return front end link for a link tag param: $tag_id return: unknown_type |
| link_tag_exists($tag_name) X-Ref |
| Checks wether a link tag exists param: $tag_name return: unknown_type |
| wp_link_tag_cloud( $args = '' ) X-Ref |
| Display link tag cloud. The text size is set by the 'smallest' and 'largest' arguments, which will use the 'unit' argument value for the CSS text size unit. The 'format' argument can be 'flat' (default), 'list', or 'array'. The flat value for the 'format' argument will separate tags with spaces. The list value for the 'format' argument will format the tags in a UL HTML list. The array value for the 'format' argument will return in PHP array type format. The 'orderby' argument will accept 'name' or 'count' and defaults to 'name'. The 'order' is the direction to sort, defaults to 'ASC' and can be 'DESC'. The 'number' argument is how many tags to return. By default, the limit will be to return the top 45 tags in the tag cloud list. The 'topic_count_text_callback' argument is a function, which, given the count of the posts with that tag, returns a text for the tooltip of the tag link. param: array|string $args Optional. Override default arguments. return: array Generated tag cloud, only if no failures and 'array' is set for the 'format' argument. |
| Generated: Sat May 30 23:51:06 2009 | Cross-referenced by PHPXref 0.7 |