Plugin Directory

Changeset 1998651


Ignore:
Timestamp:
12/20/2018 09:42:32 AM (7 years ago)
Author:
katalysis
Message:

added url to settings screen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • feather-by-katalysis/trunk/katalysis-sdk/src/plugin_api.php

    r1998548 r1998651  
    191191        if (!$plugin_settings->terms_accepted)
    192192        {
    193             return "<div><p>Please accept <a href='https://katalysis.io/feather/terms/creator.v1.pdf'>Terms and conditions</a> in settings";
     193            $admin_url = admin_url();
     194            $subpath = urlencode(plugin_basename( __FILE__ ));
     195            return "<div><p>Paywall is disabled - please accept Terms and conditions in <a href='{$admin_url}/admin.php?page={$subpath}'>settings</a>";
    194196        }
    195197 
Note: See TracChangeset for help on using the changeset viewer.