Follow for free plugins, new theme releases and theme news
Plugin Description
This plugin will hide author’s archive.
If your don’t need author parameter, this plugin may enhance your site’s security from bot inspection.
- No more
?author=1 redirection to /author/admin
- Ignore query var like
author=1 or author_name=admin
- Hide user list in REST API from user without permission
list_users or edit_others_posts. This capability is filterable.
/**
* Filter capabilities to see author list.
*
* @param string[] $caps List of capabilities.
*/
add_filter( 'hide_author_archive_rest_query_capability', function( $caps ) {
$caps[] = 'read';
return $caps;
} );
Screenshots
No screenshots provided