Skip to main content

Daymark Hooks

Action and filter reference for the Daymark plugin and its connectors

This documentation provides a comprehensive reference for all the hooks (actions and filters) available in the plugin. These hooks allow developers to customize and extend the plugin's functionality.

Actions

Actions are hooks that the plugin uses to execute custom code at specific points during its execution. They allow you to add functionality or modify behavior.

Adding an Action

add_action('hook_name', function($arg1, $arg2) {
// Your custom functionality
});

Filters

Filters are hooks that allow you to modify data during execution. They provide a way to intercept and modify data as it passes through the plugin.

Applying a Filter

add_filter('hook_name', function($value) {
// Modify $value
return $modified_value;
});