<?php

namespace Blazemedia\Affiliation\AdminUserInterface\Buttons;

use Blazemedia\Affiliation\AdminUserInterface\Settings\Capability;

/*
 *  Class AffiliateLink ( nuovo )
 *  
 *  Bottone e UI per la creazione degli shortcode dei link
 */
class AffiliateLink extends Button {

    function __construct() { 
        
        /** 
         * Set the name of the plugin 
         * >> affiliation_link.js
         * 
         * and the name of the ajax endpoint to call into plugin
         * >> affiliation_link_action
         */
        parent::__construct( 'affiliation_link', 'affiliation_link_action', 'dialog-AffiliateLink.html' );
    }

    public function addFieldsToDialog() : array { return []; }

}