What's the deal with Deno? We talk with a major contributor to find out. Listen now.

New answers tagged

1

You could use something like CRM_Core_Permission::check('administer CiviCRM') which returns true or false depending on if they have that permission.


2

I think you need to use hook_civicrm_buildAmount or hook_civicrm_buildForm hook to change the amount on front end contribution/event pages for priceset or line items.


Top 50 recent answers are included