This code will run a function from PluginB from within PluginA. Useful to pass data between WordPress plugins.
If you need to get or update the Sale & Regular price of a WooCommerce product from either the product ID or from the functions.php or plugin file, this is how to do it. Very easy!