Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

Provided you are working on a php 5.3+ only package what are the namespace conventions when it comes to plugins

Funky_Monki\Banana_Blogger_Plugin\Admin::Banana_Tosser

Plugins\Funky_Monkey_Banana_Blogger\Admin::Banana_Tosser?
share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

There are no such conventions for WP. But I would recommend to use such style:

Plugins\Your_Company\Your_Plugin\Your_Component\Your_Class
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.