PHP code example of franmastromarino / wp-plugin-feedback

1. Go to this page and download the library: Download franmastromarino/wp-plugin-feedback library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

franmastromarino / wp-plugin-feedback example snippets


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
    ]);
}