wp_set_link_cats


wp_set_link_cats ( $link_id = 0, $link_categories = array() )

Parameters:
  • (int) $link_id ID of the link to update.
  • (int[]) $link_categories Array of link category IDs to add the link to.
Defined at:

Description

Update link with the specified link categories.

Related Functions

wp_get_link_cats, wp_get_links, wp_set_post_cats, wp_insert_link, wp_list_cats

Top Google Results

User discussions

wpseek mobile