芝麻web文件管理V1.00
编辑当前文件:/home/ephorei/www/wp-content/plugins/suretriggers/src/Integrations/fluentcrm/fluentcrm.php
name = __( 'FluentCRM', 'suretriggers' ); $this->description = __( 'FluentCRM is a Self Hosted Email Marketing Automation Plugin for WordPress.', 'suretriggers' ); $this->icon_url = SURE_TRIGGERS_URL . 'assets/icons/fluentCRM.svg'; parent::__construct(); } /** * Fetch tag data. * * @param int $tag_id tag id. * @return mixed */ public function get_tag_data( $tag_id ) { $tag = Tag::where( 'id', $tag_id )->get(); return $tag; } /** * Fetch list data. * * @param int $list_id list data. * @return mixed */ public function get_list_data( $list_id ) { $list = Lists::find( $list_id ); return $list; } /** * Is Plugin depended plugin is installed or not. * * @return bool */ public function is_plugin_installed() { return defined( 'FLUENTCRM' ); } } IntegrationsController::register( FluentCRM::class );