Add_Uoa_Integration
Class Add_Uoa_Integration
Source Source
File: src/integrations/uncanny-automator/add-uoa-integration.php
class Add_Uoa_Integration { use Recipe\Integrations; /** * Add_Integration constructor. */ public function __construct() { $this->setup(); } /** * */ protected function setup() { $this->set_integration( 'UOA' ); $this->set_name( 'Automator' ); $this->set_icon( __DIR__ . '/img/automator-core-icon.svg' ); $this->set_plugin_file_path( 'uncanny-automator/uncanny-automator.php' ); } /** * Explicitly return true because WordPress is always active. * * @return bool */ public function plugin_active() { return true; } }
Expand full source code Collapse full source code View on Github
Methods Methods
- __construct — Add_Integration constructor.
- plugin_active — Explicitly return true because WordPress is always active.
- setup