WordPress.org

Ready to get started?Download WordPress

Forums

[closed] Calling function from other plugins (5 posts)

  1. icecappacino
    Member
    Posted 1 year ago #

    I'm trying to call a plugin's function in my themes' function file but I get an error stating that the function is undefined.

    How can I know when a plugin is loaded so as to call the function as well as call the function before outputting headers?

  2. michael.mariart
    Member
    Posted 1 year ago #

    You can try:

    if (function_exists("other_function_name")){
        // Do your stuff in here
    }
  3. icecappacino
    Member
    Posted 1 year ago #

    Yes but that doesn't help me it just checks to see if the function exists....i need it to exists...i need to know when a particular plugin is loaded

  4. dsomaya
    Member
    Posted 1 year ago #

    there is a solution given in the forum. you can check this link. http://wordpress.org/support/topic/how-to-check-if-another-plugin-is-active?replies=7

  5. icecappacino
    Member
    Posted 1 year ago #

    Well that is going to suck I'm trying to do this >>

    [ Duplicate http://wordpress.org/support/topic/how-to-use-facebook-user-as-wordpress-user?replies=1 - Closing. Don't create multiple threads for the same thing it makes support more difficult. Continue on with the other post. ]

Topic Closed

This topic has been closed to new replies.

About this Topic