• Resolved David Gard

    (@duck_boy)


    Hey all,

    Doed anybody know of a way to call the number of plugins currently installed, and those that are active?

    Thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • duck_boy,

    I’m not certain what you mean by “call,” but this information should be available when you click on “plugins” in your dashboard.

    When I’m logged into my dashboard, I can see which plugins have been activated in the site I created.

    Thread Starter David Gard

    (@duck_boy)

    By call, I mean get the information and place it in a variable, so that it can be displayed to users on the front end. Managed to sort this out today –

    $num_plugins = count(get_option('_transient_plugin_slugs'));
    $num_active_plugins = count(get_option('active_plugins'));
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How many plugins are installed?’ is closed to new replies.