Core Functions in Venddor IO

Introduction to Core Functions

The foundational functions of Venddor IO are neatly housed within the app/functions directory. These functions are the backbone of the platform, offering its integral capabilities. To maintain organization and facilitate easy navigation, they're categorized and filed based on their specific function or application area.

Function Organization

Functions in Venddor IO are organized by their purpose and domain. Examples include:

This organization makes it easier to locate and understand the functional components of the platform.

Extending Core Functions

To enhance or modify the intrinsic behavior of these core functions, Venddor IO utilizes PHP hooks. This allows for greater customization and adaptability, ensuring that modules can seamlessly integrate and augment the platform's default operations.

For example, to modify how products are displayed in search results, you can hook into the relevant core function rather than modifying the core code directly. This approach maintains compatibility with future updates.

Best Practices for Working with Core Functions

When working with Venddor IO's core functions, follow these best practices: