Accessing third party files are as easy as requiring them in your own add-on, instantiating the add-on’s class and calling one of the methods! You can use the PATH_THIRD constant to get the path to the expressionengine/third_party directory.
require PATH_THIRD . 'playa/mod.playa.php';
$playa = new Playa();
$playa->total_parents();Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.