We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Here are some suggestions for refactoring the code:
For example:
class AlgoliaWooIndexerConstants { const PLUGIN_NAME = 'Algolia Woo Indexer'; // ... other constants } class AlgoliaWooIndexerSettings { public function algolia_woo_indexer_settings_page() { // Render settings page } public function validate_settings() { // Validate settings } } class AlgoliaWooIndexer { public function __construct(AlgoliaWooIndexerSettings $settings) { $this->settings = $settings; } public function do_something() { $this->settings->algolia_woo_indexer_settings_page(); } }
Hope this helps! Let me know if you have any other questions.
The text was updated successfully, but these errors were encountered:
w3bdesign
No branches or pull requests
Here are some suggestions for refactoring the code:
For example:
Hope this helps! Let me know if you have any other questions.
The text was updated successfully, but these errors were encountered: