-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add HPOS compatibility for the
orders_by_type_query
filter box in t…
…he order listing screen (#501) * Refactor the rendering of the restrict_manage_subscriptions admin orders page dropdown Including some sanitization for the variable and changing the format when interpolating php and html. * Add dropdown in the orders admin screen when HPOS is active This dropdown was already being hooked in an action for the orders screen when HPOS is disabled. This commit hooks the same functionality to an analogous action for HPOS. * Add strong comparison for the variable for the non-HPOS callback * Hook the query modifier method to the HPOS specific filter for order subtypes * Remove unused variable * Add changelog entry * Add static declaration to the hpos query callback
- Loading branch information
Showing
2 changed files
with
122 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters