'woocommerce_created_customer', 'Customer Updated' => 'profile_updated' ); self::$order_status_actions = array( 'Order Pending' => 'woocommerce_order_status_pending', 'Order Processing' => 'woocommerce_order_status_processing', 'Order Completed' => 'woocommerce_order_status_completed', 'Order Cancelled' => 'woocommerce_order_status_cancelled', 'Order Refunded' => 'woocommerce_order_status_refunded' ); } public static function load_form_xml() { if (!isset(self::$form_xml) || !is_a(self::$form_xml, 'SimpleXMLElement')) { $url = activedemand_api_url("forms.xml"); $str = activedemand_getHTML($url, 10); self::$form_xml = simplexml_load_string($str); } return self::$form_xml; } public static function build_full_linker() { self::load_form_xml(); $arr = (array)self::$form_xml->children(); $ids = array(); foreach ($arr['form'] as $v) { $ids[] = (int)$v->id; } return new FormLinker($ids); } public static function form_list_dropdown($name, $atts = array(), $selected = null) { self::load_form_xml(); $output = '"; foreach ($labels as $name => $content) { $output .= "