1.x version

Create ExtensionΒΆ

To create an extension, just create a directory with the name of the extension in any extensions/ directory with a manifest.php file in it. Internally that will create an instance of FW_Extension_Default class.

Optionally, you can place a file class-fw-extension-{extension-name}.php with the following contents, in the newly created directory and start create some advanced functionality:

<?php if (!defined('FW')) die('Forbidden');

class FW_Extension_{Extension_Name} extends FW_Extension
    // ...