User Level Preferences

As I update client websites to the latest – it’s going to get a bit old explaining one by one how to get their workspace back to the way it was before I upgraded their site since the new default is position-right.

Also, while the issue might be short lived to upgrade season, it would be really helpful to control our client’s workspace position (for example, all of my tutorials for clients are workspace-left).

Is it possible to add some sort of user-level preference to preset their workspace config?

2 Likes

+1 one to this request. it is hard enough getting clients to deal with change, it would be helpful to have the defaults match existing set ups on upgrade sites

1 Like

See the filter below. You can setup defaults for pretty much everything via this filter. This is a good one for docs. Thanks for bringing this up!

add_filter('cs_app_preference_defaults', function($defaults) {
  // Workspace defaults to left
  $defaults['workspace_side'] = 'left';

  // $defaults['keybindings']['save'] = 'mod+s';
  // $defaults['element_favorites'][] = 'text';

  return $defaults;
});
2 Likes