apply_filters( 'findstr_post_terms', $post_terms array, $taxonomy string, $post WP_Post )
add_filter( 'findstr_post_terms', $post_terms array, $taxonomy string, $post WP_Post )
Filter the post terms.
This filter runs for each taxonomy to index based on indexable fields settings.
Parameters
| Name | Type | Description |
|---|---|---|
$post_terms | array | the terms to index |
$taxonomy | string | the taxonomy name |
$post | WP_Post | the post object |
- Source
Returns:
$post_terms the terms to index
- Type:
- array