Closed labbitroma closed 2 years ago
@labbitroma can you tell me a bit more about your use case? I suspect that everything that you're asking for can be done in the filter 'acp/editing/save_value' Of course, a filter is not exactly the same as an action, but as long as you return the value or throw an exception, you can do the same things as in the hook. Unless you have a very good use case that cannot be solved with the filter.
Added: do_action( 'acp/editing/before_save', $column, $id, $request );
There is an action called 'acp/editing/saved' that triggers after the column is saved. We need another action that triggers before the column is being updated.
In file admin-columns-pro/classes/Editing/Model.php