You are here

function ca_condition_custom_php in Ubercart 6.2

Evaluate a custom PHP condition.

See also

ca_condition_custom_php_form()

2 string references to 'ca_condition_custom_php'
ca_ca_condition in ca/ca.ca.inc
Implements hook_ca_condition().
_ca_convert_conditions in ca/ca.admin.inc
Helper function for converting Ubercart's Workflow-ng conditions.

File

ca/ca.ca.inc, line 378
This file includes some generic conditions and actions.

Code

function ca_condition_custom_php($arguments, $settings) {
  return _ca_custom_php_eval($settings['php'], $arguments);
}