Skip to content

Admin Bar: allow other user roles #19

@devnantes44

Description

@devnantes44

Could you please update the documentation to explain where the following code need to be added (which file and which line):

add_filter('netlify_status_capability', function() {
    return 'edit_pages';
});

add_filter('netlify_deploy_capability', function() {
    return 'edit_pages';
});

add_filter('netlify_adjust_settings_capability', function() {
    return 'edit_pages';
});

This is not obvious for people like me who are not familiar with WordPress structure.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions