Admin2020.php
6 days ago
PluginAbstract.php
6 days ago
PluginInterface.php
6 days ago
Polylang.php
6 days ago
PolylangPro.php
6 days ago
WPForms.php
6 days ago
WPFormsLite.php
6 days ago
WPML.php
6 days ago
WooCommerce.php
6 days ago
PluginInterface.php
69 lines
| 1 | <?php |
| 2 | |
| 3 | namespace WPMailSMTP\Compatibility\Plugin; |
| 4 | |
| 5 | /** |
| 6 | * Compatibility plugin interface. |
| 7 | * |
| 8 | * @since 2.8.0 |
| 9 | */ |
| 10 | interface PluginInterface { |
| 11 | |
| 12 | /** |
| 13 | * Is plugin can be loaded. |
| 14 | * |
| 15 | * @since 2.8.0 |
| 16 | * |
| 17 | * @return bool |
| 18 | */ |
| 19 | public static function is_applicable(); |
| 20 | |
| 21 | /** |
| 22 | * Is plugin activated. |
| 23 | * |
| 24 | * @since 2.8.0 |
| 25 | * |
| 26 | * @return bool |
| 27 | */ |
| 28 | public static function is_activated(); |
| 29 | |
| 30 | /** |
| 31 | * Execute after plugins loaded. |
| 32 | * |
| 33 | * @since 2.8.0 |
| 34 | */ |
| 35 | public function after_plugins_loaded(); |
| 36 | |
| 37 | /** |
| 38 | * Execute on init action in admin area. |
| 39 | * |
| 40 | * @since 2.8.0 |
| 41 | */ |
| 42 | public function load_admin(); |
| 43 | |
| 44 | /** |
| 45 | * Execute on init action. |
| 46 | * |
| 47 | * @since 2.8.0 |
| 48 | */ |
| 49 | public function load(); |
| 50 | |
| 51 | /** |
| 52 | * Get plugin name. |
| 53 | * |
| 54 | * @since 2.8.0 |
| 55 | * |
| 56 | * @return string |
| 57 | */ |
| 58 | public static function get_name(); |
| 59 | |
| 60 | /** |
| 61 | * Get plugin path. |
| 62 | * |
| 63 | * @since 2.8.0 |
| 64 | * |
| 65 | * @return string |
| 66 | */ |
| 67 | public static function get_path(); |
| 68 | } |
| 69 |