You can override the author link via the author_link
filter:
function wpd_author_link( $link, $author_id, $author_nicename ){
return 'http://my.blog.tld/';
}
add_filter( 'author_link', 'wpd_author_link', 20, 3 );
$author_id
and $author_nicename
are available to the filter so you can fetch whatever data you need to generate the correct link.
Related Posts:
- Comments do not respect display_name setting, how to make plugin to overcome this
- why do I have to use required parametres?
- get author of published post
- How to get custom post_author?
- Create pages for authors
- How to set/change another post author by custom fields or something else?
- How to call images from your plugins image folder?
- Any examples of adding custom fields to the category editor?
- How-to implement admin Ajax inside an admin WP_List_Table?
- What is the etiquette on extending a plug-in
- Add Dividers or Separators Between Nav Menu Items
- Overide get_template_part( ‘partials/post’, ‘sidebar’ ); with a plugin
- Change Media Uploader default directory
- How to pass a parameter to this add_filter example [duplicate]
- How to get Post ID with the Add Filter Function
- WP 3.3 Tooltips API?
- Clarity needed on usage of multiple 403 forbidden header() functions at the beginning of the plugin files
- Load visual editor without custom styling
- Can i do plugin commits directly from a plugin folder inside an installation using the Trunk SVN
- Cron firing my function everytime wp-admin is visited
- How to find attachment ID for first image in a post
- Multiple textdomains
- Dynamically Override Fancy Title
- What URL do you pass to wp_remote_get to load the body of the current post’s preview?
- Override pluggable functions in a plugin?
- Set a specific page as 404 – not found via my own plugin
- Adding Automatically To In WordPress Using Filter Referencing?
- Activation hook not creating table
- Add tab to profile.php wordpress plugin development
- Sharing a common set of image files for media library, across all sites within multisite
- wpColorPicker is not a function!
- Plugin update not reflected in WordPress plugin page
- How do I alter the comment form ‘allowed tags’ text in a plugin?
- Best plugin for most viewed post [closed]
- What could cause my plugin’s options/settings page not to load?
- Disable The Events Calendar plugin from loading its scripts
- How to remove images from my plugin page in WP Directory?
- How to create database table, add data, update and delete using wpdb via plugins?
- Extending theme PHP class in plugin
- Any ideas to trigger some code after plugin update?
- Is there an additional block.json property to set to get an InnerBlocks child to respect the “supports” property?
- Plugin with action ‘save_post’ needs to press publish twice on order to publish
- WP Editor Issue in Backend
- How to test plugin update through WordPress plugin updater without tagging new release in the repo
- On the .org repo, can your plugin name/slug contain “WooCommerce” [closed]
- Wrap text around shortcode
- WP and object persistence (or lack thereof)
- UWooCommerce – add cart discount programmatically?
- Checked() function on a multidimensional array
- Bad Request in AJAX
- Remove sidebar on single page using plugin API
- When does save_post hook fire on post save/update
- Plugin does not add action
- Enqueuing scripts and styles in custom plugins
- Include file in plugin file
- Shortcode not appearing when used as post content in wp_insert_post() or possibly, shortcode not being registered at all
- Plugin language always shows WP site language, not profile language
- Adding custom stylesheet into header.php using a plugin
- Developing the save function in Gutenberg blocks
- Creating an installation zip file
- update_callback is not working in register_rest_field
- How to create ShortCode
- Detect change in site_url and home_url
- Reporting errors in a shortcode plugin
- shortcode tags not working in do_shortcode
- Adding Custom CSS with PHP
- Why is the form not updating when I select a new sector from the list?
- How to change a field in database through a submit button or Checkbox? [closed]
- Brainstorm – Slow Query from Plugin Need to Speed It Up
- How to share user data across multiple WordPress websites?
- Load stylesheet in edit category page?
- How to properly create table in plugin
- Set the payment processor callbacks to a plugin
- Error code when migrate
- Add two button to page and post admin to redirect to : add new & list of (posts – pages) just after saving post or page
- How to add .ini file type to the plugin editor to read and edit?
- WordPress: I wanted to use Add rewrite rule multiple times for multiple CPT in my plugin
- How do I show how many products are remaining from the bought package
- WordPress Ajax not returning Response
- Group By in a Metaquery
- Where to store Plugin specific information in the database
- Add a Script button in W3 Total Cache plugin not working due to conflicting jQuery version
- Remove from a div by class name from post page if post author role is not administrator
- How to create session for user which is not an admin user
- Any way to make Apache’s internal redirect work?
- New Users are saved with no role selected
- get_option() is undefined in TinymceWindowManager
- Getting duplicate page when activating my plugin
- Enqueue script not working
- Modify request query string before plugins
- auto create only 1 wp page in activate custom plugin
- Plugin error on activation – breaks page encoding and prints the code of plugin php files
- Include add_post_meta in a plugin
- wordpress plugins with add-ons
- isset($_POST[‘submit’]) ignored on comment submission
- how to insert content into wp_head after loop_end
- WordPress simple ‘Hello World’ plugin – problems
- Safe XML response from wordpress plugin
- Gutenberg: – Call a function after Server Side Component is rendered
- Problem with Owl Carousel, infinite loop [closed]