eyedentity
Forum Replies Created
-
Thanks Esseskia. To enhance the functionality and customisability of the Tablesome plugin, it would be beneficial to introduce several action and filter hooks, especially for updating and deleting table records. These hooks would allow other developers to extend or modify the plugin’s behavior without altering the core code. Here’s a list of recommended hooks:
Action Hooks
- Before Update Record Action
- Hook Name:
tablesome_before_update_record - Purpose: Executes just before a record is updated.
- Parameters: Record ID, Table ID, Updated Data Array.
- Hook Name:
- After Update Record Action
- Hook Name:
tablesome_after_update_record - Purpose: Executes right after a record is updated.
- Parameters: Record ID, Table ID, Updated Data Array.
- Hook Name:
- Before Delete Record Action
- Hook Name:
tablesome_before_delete_record - Purpose: Runs before a record is deleted.
- Parameters: Record ID, Table ID.
- Hook Name:
- After Delete Record Action
- Hook Name:
tablesome_after_delete_record - Purpose: Executes after a record is successfully deleted.
- Parameters: Record ID, Table ID.
- Hook Name:
Filter Hooks
- Filter Updated Data
- Hook Name:
tablesome_filter_update_data - Purpose: Allows modification of the data being used to update a record.
- Parameters: Data Array, Record ID, Table ID.
- Return: Modified Data Array.
- Hook Name:
- Filter Delete Conditions
- Hook Name:
tablesome_validate_update_data - Purpose: Provides an opportunity to validate or modify data before updating.
- Parameters: Data Array, Record ID, Table ID.
- Return: Boolean (true if data is valid).
- Hook Name:
Hi Essekia, it would be good understand how to add custom actions when a user uses the “Update Table” button (or the delete functionality) as I need to trigger an api to update/delete the remote entry.
- This reply was modified 2 years, 3 months ago by eyedentity.
What is the action hook to get all current form entries for the user?
Hi Essekia, unfortunately tried may option including transient and session values but as long as ‘tablesome_after_action’ is executed before ‘forminator_form_after_save_entry’ its impossible to make it work.
Thanks Essekia, but it seems that it seems ‘tablesome_after_action’ is executed always before ‘forminator_form_after_save_entry’. Is there a way to get it to execute after saving the forminator form?
Hi Essekia, any news on the progress of this action? Thanks
Thanks, it could work I think. Please inform me when this will be available
Hi Essekia, any update on this? thanks
thank you Essekia, much appreciated
Forum: Plugins
In reply to: [WooCommerce Sample] Variable ProductsI would be very much interested in this feature as well!
Forum: Plugins
In reply to: [WooCommerce] Tax not working (tax always equals 0)@torndownunits
having the same issue as you, i.e. calculating tax on the shipping, but not on the product. Have you solved it? Thanksok thanks!
- Before Update Record Action