WordPress.org

Ready to get started?Download WordPress

Forums

User Taxonomies
Nice plugin but... (1 post)

5 stars
  1. Dennis
    Member
    Posted 8 months ago #

    The second parameter from function register_taxonomy() can also be an array. So I modified the script on line 55:

    // Only modify user taxonomies, everything else can stay as is
    if(is_array($object)) {
        if(!in_array('user', $object)) return;
    } else {
        if($object != 'user') return;
    }

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.