| 开发者 |
wpmakedev
iamprazol |
|---|---|
| 更新时间 | 2026年5月30日 14:31 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.0 |
| 版权: | GPLv3 or later |
| 版权网址: | 版权信息 |
[wpmake_advance_user_avatar_upload] renders the full upload form on any page[wpmake_advance_user_avatar] outputs the current user's avatar[wpmake_advance_user_avatar_upload] to any page, or insert the Advanced User Avatar Gutenberg block.Yes. Once the WooCommerce integration is enabled in settings, the customer's avatar appears on the My Account dashboard and an upload field is added to the Account Details page. No template editing or shortcode placement is required for the standard WooCommerce account pages.
No. That is the point of the plugin. Customers upload a photo directly from their device or take one with their webcam. No Gravatar account, no external sign-up, no email hashing.
Yes. Every avatar is uploaded and stored on your own server. The plugin makes no external requests to Gravatar or any other third-party service, so no customer data leaves your site to fetch profile images.
The plugin works with any theme that follows WordPress and WooCommerce template standards. It has been tested with Flatsome, Astra, Storefront, and Hello Elementor. Themes that heavily override the WooCommerce My Account templates may need minor adjustments.
Yes. From Users > User Avatar, the admin chooses which of JPG, PNG, and GIF are accepted and sets the maximum upload size. Invalid uploads are rejected with a clear error message so the customer knows what to fix.
Yes, optionally. When the BuddyPress integration is enabled, Advanced User Avatar takes over the avatar upload flow on member profile pages, giving members the same crop and webcam tools used elsewhere on the site.
Yes. Once a user uploads a custom avatar, it appears inside the Better Messages chat interface in place of the default Gravatar. No extra configuration is required.
Yes. The WooCommerce integration is compatible with Bricks Builder and inserts the avatar uploader and viewer without conflicting with the builder's template rendering.
Yes. Use the shortcode [wpmake_advance_user_avatar] to output the current user's avatar anywhere shortcodes are supported, including widgets and page builders.
wp_get_attachment_thumb_url() replaced with wp_get_attachment_image_url() (deprecated since WordPress 6.0).date_i18n() replaced with wp_date() (deprecated since WordPress 5.3).upload_dir filter was never properly removed after file upload due to an anonymous closure reference mismatch.size_format() was called on an already-formatted string, producing incorrect upload limit messages.remove_avatar() no longer runs when no user is logged in.maybe_later dismiss action now uses a transient; dismiss_notice() now includes a capability check.WPMAKE_ADVANCE_USER_AVATAR_TEMPLATE_PATH constant definition.join() replaced with implode() throughout (PHPCS standard).$args['class'] now guarded with empty() to prevent PHP notices on non-standard calls.