The “widget_meta_poweredby” filter is part of the build in Meta widget. This filter allows you to alter the powered by link at the bottom of the widget. By default, this links to WordPress.org.
Note that the filter function must return an value after it is finished processing or the result will be empty.
add_filter( 'widget_meta_poweredby', 'custom_meta_poweredby' );
function custom_meta_poweredby( $html, $instance ) {
// Replace with custom powered by link
return ' More Awesome by <a href="https://ma.tt" title="More Awesome by Matt Mullenweg">Matt Mullenweg</a>';
}
You must log in before being able to contribute a note or feedback.
Example Migrated from Codex:
Replacing with a custom powered by link.