WordPress.org

Ready to get started?Download WordPress

Forums

Using the wordpress api from another file (1 post)

  1. sree01
    Member
    Posted 5 years ago #

    I want to use the wordpress api from a php(test.php) file located outside the wordpress directory.I want to create post and create post category in the wordpress from this php(test.php) file. i want to use the following functions

    • wp_insert_post
    • wp_insert_category
    • category_exists
    • wp_set_post_tags

    please give the list of files to be included to use these functions

    Sree

Topic Closed

This topic has been closed to new replies.

About this Topic