WordPress.org

Ready to get started?Download WordPress

Forums

Google Analytics for WordPress
Ignoring users based on role/capability, not level (1 post)

  1. Lumpysimon
    Member
    Posted 2 years ago #

    Hi Joost

    I have a feature request:

    Currently I can only choose to ignore users 'above' a certain level.

    However this way of looking at user levels is not consistent with WordPress' model of roles as used for the last few major versions, whereby users have roles made up of a set of capabilities, which can be added/removed to/from, and custom user roles and capabilities can be created programmatically or with a plugin like Members by Justin Tadlock.

    In this model, roles are not necessarily above or below each other, they are just all different.

    Would it be possible therefore to replace the current dropdown with a list of checkboxes, one for each user role to be ignored?

    Alternatively, that the plugin creates a custom capability on activation (or upgrade) which it checks before outputting the tracking code, so I can programmatically add/remove this capability to/from roles within my own plugin?

    Many thanks for considering this,
    Simon

    http://wordpress.org/extend/plugins/google-analytics-for-wordpress/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic