Created
May 12, 2020 17:02
-
-
Save labboy0276/9ca025ee32681b9981541dd16178d090 to your computer and use it in GitHub Desktop.
Adds a filter to the FacetWP Alpha output
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
diff --git a/class-alpha.php b/class-alpha.php | |
index b70c8b1..76b888a 100644 | |
--- a/class-alpha.php | |
+++ b/class-alpha.php | |
@@ -86,7 +86,7 @@ class FacetWP_Facet_Alpha_Addon extends FacetWP_Facet | |
} | |
} | |
- return $output; | |
+ return apply_filters( 'facetwp_alpha_render', $output ); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment