• Even though I had some experience in php and drupal. WordPress is quite new to me. I read from the wordpress documentation on how to write a new plug-in, and how to use hooks and filters. But what if I would like to use an existing plugin?

    For example, if there is a plugin that adds a geolocation to user’s profile, and another plugin that manages events. I would like to create a travel route for the user and attach events to each geolocation of the user. How do I use the two existing plugins?

    I know the question is quite vague, but I really want to learn the general rule for using existing plugins. Shall I just build a new plugin over the others or write custom php code? and how? Would appreciate any help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I think the easiest thing to do would be going into wp-content/plugins/ and just finding the plugin you want to extend and editing it’s source code.

    But, if the plugin is ever updated you won’t be able to update without losing your changes.

    Thread Starter tifire

    (@tifire)

    thank you for the response. The problem is I am not able to find the plugin that fully implements what I needed. It may takes a lot of time understanding the code of the plugin. It may be even harder to modify the source code. The other problem is what you said – losing the changes when the plugin is updated.

    Is there any bridge between plugins? I understand that some plugin offers its own api, such as hooks or filters, but I really don’t know how to use them in my own code. I can’t find any documentations about the communication among plugins.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘how to build over an existing plugin?’ is closed to new replies.