Support » Requests and Feedback » Why recently desactivate “plugin”, not recently “activate” ?!

  • Sometimes, trying plugins, new widgets, can be frustrating if you have a lot of theme in a sandbox… So my today question is Why recently desactivate “plugin” is showned but, not recently “activate” ?! I think if one is good for all of us, the other option too should appreciated, no ?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Please, in your scenario, define ‘recently active’:

    Activated in current browser session?
    Activated in past hour?
    6 hours?

    Please step back from your question for a moment perhaps and give that some thought?

    Please see this image has my answer


    Let’s try it this way:

    The method(s) used by WP to count and list these items are based on certain conditions.

    In this case, it’s easy to create a condition for ‘recently deactivated’, as they are not a grouping of ‘activated’ plugins. Once a plugin is activated it is added to the ‘activated’ plugins group (with a plethora of other functions then run).

    In order to filter the activated plugins group, a new filter would need to be added.

    If you have done so, please feel free to provide the full code to do so.

    Tip: A screenshot is not useful for development purposes.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Why recently desactivate “plugin”, not recently “activate” ?!’ is closed to new replies.