Commits

Thomas Tornevall authored 31a7c6e8c98
WOO-706 + RWC-451 Preparations RWC-451 (Parent): * Making sure formFieldDefaults is loaded once, not more. * getAddressByPhone (NO) fallback removed. * Applied filter getAddressRequest for SE. * Fixed "typo" in ResursPlugin. * getAddressRequest in parent is now running as long as noone else has been taking over. WOO-706 MAPI (Child): * Moved configuration array into own class. * On init we are now collecting "current store uuid" for reuse. * During plugin activating, we are nog looking for WooCommerce too. * isEnabled variable is now statically reachable. * rbwc_get_custom_form_fields is required to be outside is_admin() check so that we can get defaults from child config. * add_filter - rbwc_set_internal_address_request_enabled, so we can disable internal requests. * add_filter - rbwc_get_address_request (new request method using ecom2). * mapi_current_store is now integrated with the array without injections. BUGS INTRODUCED AND FIXED * Image urls are not properly rendered when other plugins is executing their data. * Minor default loaders fixed. * Some filters and actions in child plugins can not load properly until parent is finished: Added "loaded"-action for such executions.