snippet-library
snippet-library copied to clipboard
`gpeb-filter-with-default-value.php`: Added snippet to load Entries Block with a provided default value on a filter.
trafficstars
Context
⛑️ Ticket(s): https://secure.helpscout.net/conversation/2565332084/64616?folderId=3808239
Summary
Setup default value for a filter in the Filters block.
Applied the wp_safe_redirect logic as on core we do when we manually "apply" a filter (here)