WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Call to undefined function wp_insert_term() (2 posts)

  1. eflouret
    Member
    Posted 11 months ago #

    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

  2. eflouret
    Member
    Posted 11 months ago #

    Solved. Including wp-blog-header.php is enough. I was making other mistake.

    Please remove this request as the problem was non existant.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.