PHP Trait Inpsyde\MultilingualPress\Module\ActivationAwareness

Since: 3.0.0
Datei anzeigen Open project: inpsyde/multilingual-press

Public Methods

Method Description
activate ( ) : boolean Executes the callback to be used in case this service provider's module is active.

Private Methods

Method Description
on_activation ( callable $callback ) : void Registers the given callback to be executed on the activation of this service provider's module.

Method Details

activate() public method

Executes the callback to be used in case this service provider's module is active.
Since: 3.0.0
public activate ( ) : boolean
return boolean Whether or not the callback was executed.