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

Facet by Meta Range block foundations #3289

Merged
merged 11 commits into from
Feb 1, 2023
Merged

Conversation

felipeelia
Copy link
Member

@felipeelia felipeelia commented Jan 31, 2023

Description of the Change

This PR introduces the foundation of a Facet by Meta Range block.

It can be enabled adding the following snippet to a mu-plugin:

add_filter(
	'ep_facet_types',
	function ( $types ) {
		$types['meta-range'] = '\ElasticPress\Feature\Facets\Types\MetaRange\FacetType';
		return $types;
	}
);

Closes #3118

How to test the Change

Changelog Entry

Added - New Facet by Meta Range block

Credits

Props @felipeelia

Checklist:

  • I agree to follow this project's Code of Conduct.
  • I have updated the documentation accordingly.
  • I have added tests to cover my change.
  • All new and existing tests pass.

@felipeelia felipeelia added this to the 4.5.0 milestone Jan 31, 2023
@felipeelia felipeelia changed the title Feature/issue 3118 Facet by Meta Range block foundations Jan 31, 2023
@felipeelia felipeelia merged commit 664cb13 into develop Feb 1, 2023
@felipeelia felipeelia deleted the feature/issue-3118 branch February 1, 2023 16:35
@felipeelia felipeelia mentioned this pull request Feb 1, 2023
4 tasks
@JakePT JakePT mentioned this pull request Mar 1, 2023
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Facets: Add meta range capabilities
1 participant