funcs[$name]) ? call_user_func_array($this->funcs[$name], $args) : '';
}
// during the first creation of this object register some hooks
protected function __construct() {
$this->api = ACF_Woo_API::get_instance();
// once all plugins are loaded, figure out if we need to stub any functions
add_action('plugins_loaded', array(&$this, 'initialize_functions'));
add_action('acf/render_field_settings', array(&$this, 'add_field_display_label_pro'));
add_action('acf/create_field_options', array(&$this, 'add_field_display_label'));
add_action('woocommerce_admin_order_data_after_billing_address', array(&$this, 'acf_woocommerce_add_fields_to_order'));
}
// determind which functions to use, based on what is available
public function initialize_functions() {
}
// NON-PRO ONLY: add a field to the admin interface, that decides whether this field's label gets displayed on the frontend or not
public function add_field_display_label($field) {
?>