Codeinwp / Codeinwp/wp-menu-icons

Disable Plugin Advertisments for the Editor role

Open
#266 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

customer report new feature
Dominant language
PHP
Stars
82
Forks
25
Avg merge
1d 16h
Merged PRs (30d)
3

Description

What problem does this address?

A user has brought to our attention that users with the Editor role shouldn't have visibility of any plugin advertisements, specifically mentioning an example with Neve:
image
The screenshot displayed above is taken from the editor's role.

Reference: https://wordpress.org/support/topic/neve-theme-upsell-administrators-only/

What is your proposed solution?

Create a filter that prevents advertisements from being displayed in the Editor role.

Will this feature require documentation? (Optional)

Yes, it requires documentation.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points; begin by locating the plugin-advertisement rendering path and the WordPress filter used for role checks. Done means Editor users see no plugin advertisements, with the requested documentation updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, wordpress
Domain
authorization
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.