WordPress.org

Support

Support » Plugins and Hacks » Hacks » [Resolved] Call to undefined function wp_insert_term()

[Resolved] Call to undefined function wp_insert_term()

  • 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?

    Thanks

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 ‘[Resolved] Call to undefined function wp_insert_term()’ is closed to new replies.
Skip to toolbar