The plugin WP_Sukellos_Basic_Plugin extends the WP_Plugin parent class. WP_Plugin is an abstract class too, that will force the implementation of 2 methods :

  • init() that can be used to launch our specific functionalities, as a shortcode for example
  • init_custom_post_types() that must be used to create your custom post types, if you have some.

This last method was introduced to allow Sukellos Fw to properly manage the flushing rewrite that must be done when activating the plugin.

Sukellos Fw installation