wp_insert_link Wordpress function


Description:

This function inserts/updates links into/in the database.


Syntax:


Arguments:

(array) $linkdata Elements that make up the link to insert.
(bool) $wp_error Optional. If true return WP_Error object on failure.


Return Type:

(int|WP_Error) Value 0 or WP_Error on failure. The link ID on success.


Define At:

wp-admin/includes/bookmark.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/wp_insert_link


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×