sumitpore / mvc-plugin-boilerplate-for-wordpress

An MVC WordPress Plugin Boilerplate with clear separation of concerns. Will make your experience of creating a WordPress Plugin enjoyable!
178 stars 24 forks source link

managing autoload of libraries #26

Closed wpplumber closed 4 years ago

wpplumber commented 4 years ago

Do you recommend any sample of using /vendor/autoload.php ?

sumitpore commented 4 years ago

You can add include statement directly in main plugin file right below this condtion if ( ! defined( 'WPINC' ) ) { die; }

wpplumber commented 4 years ago

thank you.