Search results for ""

Sorry, no results found. Perhaps you would like to search the documentation?
All Topics
Matthias Gmeiner



How can I check if user column is bulk edited?
I use that code – I just found online in your git repro.

So do i got over $column something back i can check?

function acp_editing_saved_usage( AC\Column $column, $id, $value ) {
add_action( 'acp/editing/saved', 'acp_editing_saved_usage', 10, 3 );

Best Regards

2 years, 3 months ago
Stefan van den Dungen Gronovius

You could check the current Ajax request for check certain params.
For the Bulk Edit call, you could do the following:

add_action( 'acp/editing/saved', function( AC\Column $column, $id, $value ){
	if( 'bulk-save' === filter_input( INPUT_POST, 'method') && 'acp_editing_request' === filter_input( INPUT_POST, 'action') ){
		//do stuff
}, 10, 3 );
2 years, 3 months ago

You must be logged in to reply to this topic.