apply_filters( 'ep_woocommerce_products_supported_post_types', $supported_post_types, $query ) → {array}
Expands or contracts the post_types related to products eligible for indexing.
Parameters:
Name | Type | Description |
---|---|---|
$supported_post_types |
array | Post types |
$query |
WP_Query | The WP_Query object |
- Since:
- 4.7.0
- Source:
Returns:
New post types
- Type
- array