wp_insert_link not working
-
01-11-2019 - |
Pregunta
Im using this code to insert links into my blog:
$linkdata = array(
'link_name' => $title,
'link_url' => $url,
'link_catetory' => 3, // my cat id
);
$link_id = wp_insert_link( $linkdata );
Links are inserted, but not in the correct category, I missed something?
No hay solución correcta
Licenciado bajo: CC-BY-SA con atribución
No afiliado a wordpress.stackexchange