SaberCommerce\Component\Account\AccountComponent

Class Extension #

AccountComponent extends \SaberCommerce\Component. Because the base component class currently doesn’t do anything this is only for future compatibility.

Methods #

init() #

Called during plugin initialization. Calls the script add method.

loginFormProcess() #

This might be removed, it is not needed in this class.

addShortcodes() #

This might be removed, it is not needed in this class.

addScripts() #

Enqueues Bootstrap and custom login script “sacom-login-form-script”.

activation() #

On activation of the Saber Commerce plugin this method is called and primarily it installs the database table for accounts, “sacom_account”.

Powered by BetterDocs