[wp-hackers] Making sure wp term relationships records are unique

Dion Hulse (dd32) wordpress at dd32.id.au
Fri Apr 13 13:28:41 UTC 2012


http://codex.wordpress.org/Function_Reference/wp_set_object_terms
See also: The related functions at the bottom.

On 13 April 2012 23:24, Haluk Karamete <halukkaramete at gmail.com> wrote:
> Which  WordPress function is used when associating wp_ term_taxonomy IDs
> with the wp_post IDs with PROGRAMMATICALLY.
>
> And does that function have internal mechanisms to make sure that no
> duplicate entries are allowed when being triggered programmatically.
>
> Here of course I'm not talking about wpdb->insert - which will surely allow
> duplicates unless mysql table is configured properly.
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers


More information about the wp-hackers mailing list