WordPress.org

Ready to get started?Download WordPress

Forums

how to access wordpress functions (1 post)

  1. unomateo
    Member
    Posted 7 years ago #

    I made a widget, that consists of 2 files. Both php. The main file gets registered as a widget and it works fine. The second file works in the background and I need to access some wordpress functions. Mainly update_option. How do I either register the second file, or include files to access wordpress functions on the second file.

    I guess another way to say it, how do you access wordpress functions without activating or registering a php file?

Topic Closed

This topic has been closed to new replies.

About this Topic