The avatar_default is the better option.
add_filter('pre_option_avatar_default', 'se72578_avatar_default');
function se72578_avatar_default( $option ){
return 'http://example.com/your/default/here.jpg';
}
Simple. Stick that in a mu-plugin and you’re good to go.
Edit: If you want to still allow site owners to change the default avatar, use the default_option_avatar_default
hook instead.
Related Posts:
- Site Redirecting to wp-signup.php
- Multisite on Windows with wildcard subdomains
- Are nested subdomains possible with a subdomain multisite?
- Querying posts from multiple sites in a network?
- How to use alias domain for multisite installation?
- Multisite htaccess on localhost with WP as an SVN external?
- WordPress Multisite with multiple domains using Nginx
- Multisite in subfolder – How to make new sites to be in same level subfolders as the main site
- How to list all network sites on one page
- Overriding the default WP Multisite notification e-mail
- How would I compare and remove hacks to core?
- Memory needed to host 200 wordpress sites?
- Multisite Conditional (if blog_id?) in a page template?
- WPMU vs WordPress MultiSite is there a difference anymore?
- Multisite database upgrade SSL error
- Can I install a theme on only one site of a multi-site network install?
- Creating a Dev box from an existing production machine?
- Force Network Admin Dashboard to 1 column on wordpress multisite
- Rewrite rules in multisite
- Emailing only the users of a MultiSites Sub-Sites
- wp_logout_url isn’t forwarding to correct link
- Multiple blogs, different domain names, one install to rule them all
- Can simple Admin save options in a Multisite?
- Is there a hook or a function for multisite blog deactivate or delete?
- How does WordPress tell which post is from which site in a multisite setup?
- How to remove nodes site wide from the toolbar on multisite install
- Multisite network admin – URL / redirect error
- WPMU – new users are automatically subscribed to the main blog – how to prevent that?
- WordPress MU and nested sites addresses?
- Removing “Sub-menus” from My Sites Drop-down in Admin Bar
- Multi-site vs seperate installs for just 3 blogs?
- Installing WP twice in same Directory?
- How deactivate the http-api
- Hosting a seperate wordpress project on localhost
- How to query WP Multisite primary site link
- WordPress multisite in subdirectory, not root, and remove base folder from url
- No My Sites link after installing Multisite
- Speed up MU WordPress on Apache VPS?
- Buddypress on Multisite – Member List
- How do I use different URLs in a single WordPress installation?
- Removing a wordpress multisite installation and preserving the database before migrate to nginx
- Add additional non-rewrite .htaccess directives on multisites via mod_rewrite_rules filter
- Pushing stored procedure to a multisite database in WordPress
- Child Theme activates, but nothing from parent theme displays (MAMP, Multisite)
- How do you disable account activation in WPMU and then log the user in right away?
- Error uploading files bigger than 58 MB
- Multisite registration problem [closed]
- Some PDF files get Forbidden Access and other open normally on the same directory subsites
- Copying media from multisite subsites to main website
- Link structure, WordPress IIS
- WordPress MultiSite Theme
- Multisite, Subdomain, shared NFS directory Linux HELP
- How to create multisite roles with predefined themes
- Can I safely remove banned names from WordPress?
- Multisite install w/ Sub domains on a subdomain
- Simplest way to query with blog_id?
- WordPress Multisite – Load users using custom query
- How to get blog_id of an MU site when running a custom function on the parent site
- WordPress multisite domain
- WordPress multisite not work wp-admin
- Domain Mapping subsites of an Add-on Mulsite Domain
- Trying to change active theme on all sites in Multisite
- How to install seperate theme on certain page
- Using Same User Database on Subdomain
- Publish all network posts to the primary site
- Multisite subdomain-site redirects to primary site
- Permission warning in wordpress multisite
- Static directories in a WordPress multisite network
- WordPress Multisite on multiple sub-domains
- Export / import
- Remember language choice on multisite website
- Multisite network admin login redirect
- Seeking solution to sync wordpress sites with Server
- wp-cli core install –skip-email and –skip-config flags not working on MAMP unknown parameter
- Multisite network subdomains doesn’t work
- MULTISITE: Password issue and Error Cant access site
- Multisite with Different URLs on Local Server
- SSL for Mapped Domains with WordPress Multisite on AWS
- Accessing WP multisite via IP instead of domain
- WPLANG option not available in localhost
- Applying Child Theme to another site, which has its own URL
- After cloning my WordPress database to another server, I cannot log in
- How to find the site ID on a single site and then add new post with “`multipart/form-data” enctype?
- WordPress multisite dashboard not working..!
- WordPress Domain Mapping shows new domain in place but takes me to the sub domain
- How can I have different langauges in wp-admin on a multisite installation?
- Parse shortcodes from another site in WP Multisite
- Custom pages on all multisite network, to NOT show in wp-admin at all
- How to create Network of websites with separate database in WordPress
- In a MS install, can you allow different users to have their own themes?
- Install WordPress MU outside htdocs
- WordPress multidomains and subfolders
- Redirect authors from upload.php url to Home page in Multisite
- Images on WP Network’s subsite appear only if accessed via main site’s url
- WordPress Multisite platform for different city for single db
- Multisite: should /blog go to a 404 page?
- Not being allowed to use some terms in Add New Site in WordPress
- How to redirect root blog to a specific one in multilang WP?
- Create service similar to wordpress.com [closed]
- Redirect to Multisite site 2 if site 1 has a setting