Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 4032822
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T11:46:10+00:00 2026-05-20T11:46:10+00:00

I have just developed a wordpress plugin and it is all structured within a

  • 0

I have just developed a wordpress plugin and it is all structured within a class called isimpledesign_feeds_class() so everything works fine and i am calling a function out from the class using the following code.

<?php $isimpledesign = new isimpledesign_feeds_class(); $isimpledesign->isimpledesign_feeds(); ?>

i was just wondering if their is a problem calling it like this because from previous plugins i have always used

<?php if (function_exists('isimpledesign_feeds')) { isimpledesign_feeds(); } ?>

to call a function in the theme files.

Just wondering if anyone has any suggestions???

Is this the correct way to call a function from a class in wordpress??

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-20T11:46:11+00:00Added an answer on May 20, 2026 at 11:46 am

    The second method doesn’t assume that your plugin is available for the theme to work. However, the first method assumes that the plugin is already there.

    This means that the first method will fail if your plugin isn’t loaded for some reason and will probably break the template as well.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've just upload a WordPress project into a web server. Everything went fine with
How can we change body ID while page loading? I have just developed an
I have developed a MVC web application with ASP.NET MVC and im just wondering
I have developed a windows forms c# application, i just want update items in
I have current a developed app which I am going to submit in just
I need to get value from a href button. Here I have just developed
Just developed a front-end almost entirely in FF 3.6. It works perfectly in IE9
I have just developed a credit-card processing form using Drupal, the form communicates with
I am having this strange problem: I have just developed a WCF service (on
I have a taskbar-application developed with WPF, where I just can't figure out how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.