Support

Search results for ""

Sorry, no results found. Perhaps you would like to search the community forum?
All Topics
Luc MAROILLIER

compatibility with Groups plugin

Hello
I use a “Groups” plugin from itthinx that allows me to assign a group to each user.
I can create a group column with the data but I can’t export the data.
Moreover it is possible to edit the data in the table.
Do you have a solution
In advance thank you
Luc

1 week, 6 days ago
Stefan
Developer

We don’t have a specific integration for that plugin.
You can use a hook to alter the export value for a column.
I could not find an API method in the docs to retrieve the groups or a user but the hook for our plugin would look something like this:

add_filter( 'ac/export/value', function( $value, AC\Column $column, $id ){
	if( 'groups_user_groups' === $column->get_type() ){
		$value = 'new value'; // use Groups API method to retrieve the users Groups
	}
	return $value;
}, 10, 3 );

Unfortunately, it is not possible to use our editing feature for that column, since we don’t support the plugin.

1 week, 6 days ago

You must be logged in to reply to this topic.