Support » Plugins » Hacks » Call to undefined function wp_insert_term()

  • Resolved eflouret


    Hello, I need to call wp_insert_term() from outside the wordpress environment.

    Usually loading wp_load.php is enough to use all wordpress functions outside wordpress.

    But that isn’t working this time. So I added a call to the /wp-includes/taxonomy.php library.

    No luck either.

    What libraries do I have to load to use wp_intert_term() outside wordpress?


Viewing 1 replies (of 1 total)
  • Solved. Including wp-blog-header.php is enough. I was making other mistake.

    Please remove this request as the problem was non existant.

Viewing 1 replies (of 1 total)
  • The topic ‘Call to undefined function wp_insert_term()’ is closed to new replies.