check from custom front php page if its executed by cms admin or cms admin is logged in

By ht1080z - November 28, 2021

Hi,

I'm creating a simple custom plugin by putting a custom "print" link in the section records row to preview and/or print the custom page with all the fields of each record.

In this custom frontend php page I want to put a security check to see if the page is opened by the cms admin.

I'm using separated cms user table and members tables with the membership plugin.

Any help would be appreciated,
Karls

By ht1080z - January 4, 2022 - edited: January 4, 2022

You right Daniel, thank you!