Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to remove the 'ElasticPress Indexing' option on Multisite #1893

Closed
johnbillion opened this issue Sep 18, 2020 · 2 comments · Fixed by #2156
Closed

Ability to remove the 'ElasticPress Indexing' option on Multisite #1893

johnbillion opened this issue Sep 18, 2020 · 2 comments · Fixed by #2156
Assignees
Milestone

Comments

@johnbillion
Copy link

Is your enhancement related to a problem? Please describe.

On a Multisite installation, super admin users can uncheck the ElasticPress Indexing checkboxes on the Network Admin -> Sites screen. This is undesirable when we want to control this option at the network or site level.

Describe the solution you'd like

It would be great if there was a filter to disable this checkbox (and its Ajax handler) so we can prevent super admins from changing this setting for each site.

The setting itself can be enforced via the blog_option_ep_indexable filter.

@johnbillion johnbillion added the type:enhancement New feature or request. label Sep 18, 2020
@jeffpaul
Copy link
Member

@johnbillion are you expecting to then have the ElasticPress Indexing checkbox displayed somewhere in the individual network site settings or are you expecting to programmatically control which sites are indexed and which are not?

@johnbillion
Copy link
Author

The latter. I'd like to say "switch this off, I got this".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants