Closed hlashbrooke closed 8 years ago
Example filter usage:
add_filter( 'wp_contributions_author_plugins', 'filter_author_plugins', 10, 2 );
function filter_author_plugins ( $author, $username ) {
foreach( $author->plugins as $k => $plugin ) {
if( 'plugin-slug' == $plugin->slug ) {
unset( $author->plugins[ $k ] );
}
}
return $author;
}
Thanks Hugh! Merging this in.
Fixes #13