edit_link

FUNCTION wp-admin\includes\bookmark.php (ligne 20) github
Updates or inserts a link using values provided in $_POST.

Paramètres

Entrée :
$link_id = 0
Sortie :
@param int $link_id Optional. ID of the link to edit. Default 0.
@return int|WP_Error Value 0 or WP_Error on failure. The link ID on success.

Utilisation

// Utilisation de la fonction edit_link
$result = edit_link($link_id = 0);

if ($result) {
    // Votre logique ici
}

Actualités

Chargement des actualités...