franmastromarino/wp-plugin-feedback 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

franmastromarino/wp-plugin-feedback

最新稳定版本:v1.0.9

Composer 安装命令:

composer create-project franmastromarino/wp-plugin-feedback

包简介

Process plugin feedback client.

README 文档

README

A WordPress plugin feedback collection system that shows a modal when deactivating plugins.

Features

  • Shows a feedback modal when a user tries to deactivate a plugin
  • Collects feedback with various deactivation reasons
  • Optional anonymous submissions
  • Prevents showing the modal again for plugins that have already been processed
  • Compatible with multiple plugins simultaneously

Installation

composer require quadlayers/wp-plugin-feedback

Usage

Include this code in your plugin's main PHP file:

if (class_exists('QuadLayers\\PluginFeedback\\Load')) {
    // Default usage (anonymous checkbox checked by default)
    \QuadLayers\PluginFeedback\Load::instance()->add(__FILE__);
    
    // OR customize options
    \QuadLayers\PluginFeedback\Load::instance()->add(__FILE__, [
        'anonymous_by_default' => false, // Set anonymous checkbox to unchecked by default
        'support_link' => 'https://your-plugin-domain.com/support/' // Add support link for users who encounter issues
    ]);
}

Available Options

Option Type Default Description
anonymous_by_default boolean true Whether the "Send anonymously" checkbox should be checked by default
support_link string '' URL to your support center or documentation that will be shown to users who select "not working" as their reason

License

GPL v2 or later

统计信息

  • 总下载量: 956
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-09-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固