Change WordPress user roles and capabilities › Forums › Bug Reports › Issue with Yoast SEO (multiple versions also with Pro) › Reply To: Issue with Yoast SEO (multiple versions also with Pro)
16/04/2019 at 05:42
#5639
Vladimir
Keymaster
It works at my side as expected. Try to use code below:
add_filter('wpseo_edit_advanced_metadata_roles', 'wpseo_edit_advanced_metadata_roles', 10, 1);
function wpseo_edit_advanced_metadata_roles( $roles ) {
$roles[] = 'editor';
return $roles;
}