thomasgriffin/TGM-Plugin-Activation — pull request #205 by zackkatz (2014-06-08 23:34:25+00:00)
Title: Allow adding a plugin parameter named `is_callable`

Here's a use case: Yoast's WordPress SEO Plugin and the Premium version. Mostly same plugin but different slugs. This allows you to say "no, the slug doesn't exist, but this function (or method) is callable, so the plugin must be active".

Here's the plugin array item passed to `tgmpa()`:

```
array(
'name' => 'WordPress SEO by Yoast',
'slug' => 'wordpress-seo',
'required' => false,
'is_callable' => 'wpseo_init',
)
```

If the `wpseo_init()` function exists, the WordPress SEO Premium plugin is still considered active, even the slug would normally be `wordpress-seo-premium`. This makes it possible to add some basic logic outside slug names.