[ Index ] |
WordPress Cross Reference |
[Source view] [Print] [Project Stats]
WordPress Bookmark Administration API
File Size: | 316 lines (8 kb) |
Included or required: | 1 time |
Referenced: | 0 times |
Includes or requires: | 0 files |
add_link() X-Ref |
Add a link to using values provided in $_POST. return: int|WP_Error Value 0 or WP_Error on failure. The link ID on success. |
edit_link( $link_id = 0 ) X-Ref |
Update or insert a link using values provided in $_POST. param: int $link_id Optional. ID of the link to edit. return: int|WP_Error Value 0 or WP_Error on failure. The link ID on success. |
get_default_link_to_edit() X-Ref |
Retrieve the default link for editing. return: object Default link |
wp_delete_link( $link_id ) X-Ref |
Delete link specified from database. param: int $link_id ID of the link to delete return: bool True |
wp_get_link_cats( $link_id = 0 ) X-Ref |
Retrieves the link categories associated with the link specified. param: int $link_id Link ID to look up return: array The requested link's categories |
get_link_to_edit( $link_id ) X-Ref |
Retrieve link data based on ID. param: int $link_id ID of link to retrieve return: object Link for editing |
wp_insert_link( $linkdata, $wp_error = false ) X-Ref |
This function inserts/updates links into/in the database. param: array $linkdata Elements that make up the link to insert. param: bool $wp_error Optional. If true return WP_Error object on failure. return: int|WP_Error Value 0 or WP_Error on failure. The link ID on success. |
wp_set_link_cats( $link_id = 0, $link_categories = array() X-Ref |
Update link with the specified link categories. param: int $link_id ID of link to update param: array $link_categories Array of categories to |
wp_update_link( $linkdata ) X-Ref |
Update a link in the database. param: array $linkdata Link data to update. return: int|WP_Error Value 0 or WP_Error on failure. The updated link ID on success. |
wp_link_manager_disabled_message() X-Ref |
Generated: Tue Mar 25 01:41:18 2014 | WordPress honlapkészítés: online1.hu |