check if admin
This snippet checks if the logged in user has admin permissions and executes code if true.
copy
This snippet checks if the logged in user has admin permissions and executes code if true.
copy