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 's' as an Alias for 'query' in SP_WP_Search #173

Open
kevinfodness opened this issue Nov 28, 2023 · 0 comments
Open

Add 's' as an Alias for 'query' in SP_WP_Search #173

kevinfodness opened this issue Nov 28, 2023 · 0 comments
Labels
enhancement New feature or request php Requires understanding PHP

Comments

@kevinfodness
Copy link
Member

Description

SP_WP_Search accepts "WP_Query-like arguments" but it uses query as the search term instead of s like WP_Query does. Let's make it possible to use s and have it just be an alias for query, where if query isn't set but s is, use its value.

Use Case

As a developer, I want to use SP_WP_Search like I would use WP_Query.

@kevinfodness kevinfodness added enhancement New feature or request php Requires understanding PHP labels Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request php Requires understanding PHP
Projects
None yet
Development

No branches or pull requests

1 participant