Deprecated functions removed in FacetWP 3.9
<script>tags in the
<head>section of your (child) theme's header.php file. You can also add it with a
wp_footerhook in your (child) theme's functions.php file or in the Custom Hooks add-on. Or you can use a code snippets plugin. More info
FWP.build_post_data() => FWP.buildPostData() FWP.build_query_string() => FWP.buildQueryString() FWP.fetch_data => FWP.fetchData() FWP.load_from_hash() => FWP.loadFromHash() FWP.parse_facets() => FWP.parseFacets() FWP.set_hash() => FWP.setHash()
If your site relies on any of the old methods, add the following hook to resolve issues:
How to use custom PHP code?
PHP code can be added to your (child) theme's functions.php file. Alternatively, you can use the Custom Hooks add-on, or a code snippets plugin. More info
add_filter( 'facetwp_load_deprecated', '__return_true' );
Using FaceWP 3.9.x with the Listify and Listable themes
If you are using the Listify or Listable theme, at the time of writing you need the above hook to fix the facets and submit button on the home page.
This filter can be removed as soon as the issue is fixed in these themes and you have updated it. We will update this page as soon as these themes have been fixed.