did you try:
function wpse_author_link( $link, $author_id, $author_nicename ){
return 'http://example.com/';
}
add_filter( 'author_link', 'wpse_author_link', 20, 3 );
Related Posts:
- Converting a dynamic piece of code using WordPress Loop into a static one using Post ID
- How to show list of posts by author and category?
- Find most recent authors
- Get the author of the latest revision
- Guest Author – How to modify my custom function code if the guest author URL will follow a particular pattern/format?
- Human Time Diff, change mins to minutes
- How to Display Post View Count
- How can I list random authors from current post category?
- Exclude category from
- Force the “Choose from the most used tags” meta box section to always be expanded
- The_excerpt() doesn’t parse – how to change that?
- How to only publish posts with image in it
- Add custom text automatically on each post
- Change post author without using wp_update_post()
- Optimize CPT-function with a loop
- The loop starting at a certain ID
- saving/reading custom field value does not work – no value gets POSTed
- Get post category as a separate string and url
- how to show comments only author which send own posts in wordpress
- How to hide meta from search result only on pages?
- Get post id outside loop : Notice: Trying to get property of non-object
- Show post excerpt
- Show author bio box
- Check if user has avatar
- List of authors posts minus very latest
- show latest authors blog post
- Run function after post is updated
- Where should get_post_meta() go to get $post->ID get_post_meta() is empty and $post->ID & get_the_id() are working
- Getting posts from multiple users?
- Getting rid of the blog page entirely
- Notify Author of the post if admin deletes his post and perform some function
- What function does the loop of displaying posts?
- WordPress current post functions inside loop doesn’t work anymore, are they incompatible with php 8.0?
- Separate top level categories on archive-product.php by meta
- While loop in functions.php outputting the_title() of each post on frontpage
- Post meta not working
- Shortcode for Comments and Comment Boxes in Post Loop
- get category in list of posts // shortcode for custom related posts
- shortcode // get posts by ids
- How to bulk Update URLs to new values?
- Select another post in a post meta like a parent page is selected while editing a page
- SQL DELETE multiple post_meta on single and multi-sites
- Permalink Short code showing unnecessary link text inside the loop
- How to put the author of the post in the comments?
- Restricting displayed posts to posts from only select authors
- Check if almost 10 year old – working code is up to date
- Alt text attributes not showing over portfolio images
- Author post count in category
- Find most used words in post titles
- WordPress Sticky Post Count “Fix” Breaking Pagecount by 72 pages!
- $post->post_content empty while all other properties are correct
- Function is printing twice – any suggestions?
- Change of author not updating
- How to add a custom class attribute into code wrapper? [duplicate]
- Limit Post Creation Count by Author or Role
- Current post categories and subcatecories outside of the loop
- Private post caught in endless redirect loop
- Display post by Random Authors on Page Refresh
- How to retrieve all meta data directly from the $post object? Such as $post->related_topics?
- Multiple post in One Loop in wordpress
- What is proper filter or hook action to add data to the $post object?
- Display specific posts based on an ID of another post
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- “read more” redirects to the wrong page
- Diffrent layout for posts [duplicate]
- How to show post views shortcode data for each post on Posts List Page?
- Need to display a Jan 1st post as the site’s front page on Jan 1st, and Jan 2nd post as front page on Jan 2nd etc
- Remove pagination if search returns empty
- Remove HTML tags from all posts
- Set a post expiration and delete a post when expirate
- Count singular post views automatically
- How to distinguish pages created by woocommerce?
- Blogposting Schema & Structured Data without plugin
- What permissions does a role need for the user to be assigned as the author of a post?
- Automatically select template based on query string for New Posts
- Moved a website and excerpts don’t work for old posts
- Display Updated Date Instead of Published Date
- How do you update post date (year only) in a separate custom field?
- I want to change the WordPress comments file
- Add postmeta to all blog posts
- How To Display Author Popup on Entry Meta (Genesis Framework)?
- show loop id post , only first id can read
- subtracting the current post form then whole loop, which is generating all CPT titles
- Replace Tag Keyword With Link Within Post Content
- Excluding tag Link from html tags in Post content
- Save All Post Permalink From A Specific Category into a .txt file
- How can I get the last post while on the first post for pagination? As if it were infinite
- On WordPress Search, how to search post from Author meta also
- Loop and output 4 rows of posts on home page
- Bulk Post update_post_meta
- Changing a users posts to drafts upon role change
- Re-order Category Meta-data
- Double loop output
- AJAX load more posts not using correct category and repeating the same few posts
- How to Display Most View Post in the template file?
- WP_Query sort by meta_value_num or date
- How to show category image if no featured image is set?
- how to call recent post content in a loop ( only the content before read more tag)
- Retrieve posts inside foundation tabs and tab-content split by 3 per row
- Loop through all posts showing duplicates