-
kanbanpress_log_event hook
Hook Overview The kanbanpress_log_event hook is triggered whenever an event is logged by the KanbanPress History Log plugin. It allows developers to hook into this action and add custom log entries. Hook Parameters Usage Example To log a custom event using the kanbanpress_log_event hook, you can add the following code to your plugin or theme:…
-
kanbanpress_modify_query_args
Adding Custom Conditions to the KanbanPress Board Query With the kanbanpress_modify_query_args hook, you can programmatically add custom conditions to the query that fetches posts for the KanbanPress board. This enables developers to filter posts based on specific criteria, such as posts authored by the current user or posts with specific metadata. Hook Overview The kanbanpress_modify_query_args…
-
kanbanpress_before_popup_content
KanbanPress provides hooks to allow developers to extend the popup functionality. You can use these hooks to trigger custom processes or add custom content to the popup. Hooks Available Integrating with Your Plugin To integrate your custom plugin with KanbanPress, use the hooks provided in your functions.php file or in your custom plugin file. This…
-
kanbanpress_post_completed
KanbanPress provides two custom hooks to allow developers to add functionality when a post is marked as complete or incomplete. These hooks can be used to extend the behavior of the plugin without modifying its core code. Available Hooks kanbanpress_post_completed This hook is triggered when a post is marked as completed. Usage: Parameters: kanbanpress_post_incomplete This…
-
kanbanpress_board_settings_bottom
The kanbanpress_board_settings_bottom action hook allows developers to add custom content to the bottom of each board’s settings section on the KanbanPress settings page. Example Usage Here’s an example of how to use the kanbanpress_board_settings_bottom hook to add a custom text input field to the bottom of each board’s settings: Parameters Example phpCopy code// Hook into…
-
kanbanpress_custom_tabs
Adding Custom Tabs to KanbanPress Popup Overview The kanbanpress_custom_tabs filter allows developers to add custom tabs to the KanbanPress popup window. This can be useful for displaying additional information or custom content related to a post. How to Use To add custom tabs, you need to hook into the kanbanpress_custom_tabs filter and provide an array…
-
kanbanpress_custom_edit_fields
Used for adding custom fields to the popup editor Adding more complex field types