Support » Plugin: Achievements for WordPress » 'Development' mode for plugins?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Paul Gibbs


    BuddyPress Lead Developer


    Super cool to hear your diving into the code, even without any documentation guide. Let me know how you get on! 🙂

    This is an interesting idea for a future improvement, but there’s no neat way right now. Maybe filter the function that returns the version and set it to a constant more conveniently defined inside your plugin?

    That might work. The snag seems to be that actions only get added to the taxonomy on the 1st time a plugin is recognized. So $version[$id] needs to continually change to make it look like a new plugin. But that’s clearly not best to keep changing $id and thus leaving a bunch of old unused taxonomies around.

    I’ll see if I can modify this section to use a “development” mode where the taxonomy is cleared and refreshed each time with the new set of actions.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘'Development' mode for plugins?’ is closed to new replies.