Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial


Jackie Jen
Jackie Jen
2,723 Points

Is there any way to convert php function script into wordpress plugin?

I have a simple php function script and would like to convert it to wordpress plugin. But i have no basic knowledge about wordpress. example of command code of wordpress. Is there any way to convert php function script into wordpress plugin?

2 Answers

Kevin Korte
Kevin Korte
28,148 Points

Sure, that's basically what a plugin in. Just functions that do stuff that are extracted out of the theme files of a WP site. However, its quite easy, I would recommend going through the WP Plugin Course here so you can see exactly how to do it properly. You probably do not even need to do the whole course to get what you need out of it.


Sue Dough
Sue Dough
35,800 Points

Show the script please.