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

Add new filter to show or not ElasticPress Indexing option #2156

Merged
merged 1 commit into from
Apr 16, 2021

Conversation

Rahmon
Copy link
Contributor

@Rahmon Rahmon commented Mar 31, 2021

Description of the Change

This change adds a new filter to show or not the ElasticPress Indexing option in the Sites screen (wp-admin/network/sites.php).

Alternate Designs

Benefits

Possible Drawbacks

Verification Process

This has been tested manually. Adding the code below is expected that the ElasitcPress Indexing option doesn't appear in the Sites screen.

add_filter( 'ep_show_indexing_option_on_multisite', '__return_false' );

Checklist:

  • I have read the CONTRIBUTING document.
  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests passed.

Applicable Issues

Closes: #1893

Changelog Entry

Added the filter ep_show_indexing_option_on_multisite.

@Rahmon Rahmon added this to the 3.6.0 milestone Mar 31, 2021
@Rahmon Rahmon requested a review from felipeelia March 31, 2021 22:02
@Rahmon Rahmon self-assigned this Mar 31, 2021
@brandwaffle brandwaffle merged commit 126ec22 into develop Apr 16, 2021
@brandwaffle brandwaffle deleted the feature/indexing-option-multisite branch April 16, 2021 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ability to remove the 'ElasticPress Indexing' option on Multisite
3 participants