| 开发者 | henry.wright |
|---|---|
| 更新时间 | 2016年3月10日 05:00 |
| 捐献地址: | 去捐款 |
| PHP版本: | 3.8 及以上 |
| WordPress版本: | 4.5.0 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
buddypress-identiconsYes.
Yes. Your identicon will change if you change your email address.
Yes. You can filter the image URL:
function identicons_filter_avatar_url() { $upload_dir = wp_upload_dir(); return trailingslashit( $upload_dir['baseurl'] ) . 'image.png'; } add_filter( 'identicons_get_avatar_url', 'identicons_filter_avatar_url' );
Yes. To set a transparent background go to Settings > BuddyPress and then look for the option under the Settings tab.
Yes. The default is 150px square but you can change that by filtering the "full" width and height settings. For example:
function identicons_filter_avatar_full_width() { return 120; } add_filter( 'bp_core_avatar_full_width', 'identicons_filter_avatar_full_width' );
function identicons_filter_avatar_full_height() { return 120; } add_filter( 'bp_core_avatar_full_height', 'identicons_filter_avatar_full_height' );
Yes. To change the identicon type go to Settings > Discussion and select an option under Default Avatar.
An identicon is used as a member's avatar only if a profile photo hasn't been uploaded.
If you think you've spotted a bug, please open an issue on GitHub.
bp_core_fetch_avatar() is called.