[wp-hackers] Must Use plugin example?

Ben May bmay at alyte.com.au
Tue May 14 22:33:35 UTC 2013


Writing a MU-plugin (AFAIK) is the same as a normal plugin.

If you're writing something that's larger than 1 file, (ie in a folder)
drop a file in /mu-plugins/loader.php and inside that and requice_once
/mu-plugins/my-plugin/plugin.php - this is how I've managed to get away
with it in the past


On 15 May 2013 06:49, Micky Hulse <mickyhulse.lists at gmail.com> wrote:

> Howdy,
>
> I'd like to learn how to write a solid Must Use plugin.
>
> Just curious if anyone knows of an existing, simple, Must Use plugin
> that I could use to learn from?
>
> I'd like to see an example of a MU plugin that uses PHP5+ OOP/Class.
> The simpler the example the better ... I'm mostly wanting to figure
> out the template/pattern that I need to use.
>
> Thanks!
> M
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>


More information about the wp-hackers mailing list