Support » Plugins and Hacks » Hacks » wp_insert_post categories array with variables

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anyone know whats wrong with the php code?

    marsh_lion

    (@marsh_lion)

    The PHP code you have written is creating an array with 3 elements in it, not an array with 1 element of 3.

    PS. Yes I know this is an old query – I happened to stumble on it when searching for my issue with categories (and is something I find a pain as well)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp_insert_post categories array with variables’ is closed to new replies.