apply_filters( 'findstr_index_post_status', $post_status_to_index, array )
add_filter( 'findstr_index_post_status', $post_status_to_index, array )
This filter is used to set the post status to index.
Parameters
| Name | Type | Description |
|---|---|---|
$post_status_to_index, | array | default is array( 'publish' ) |
- Source
Returns:
$post_status_to_index, use WP_Post Status
- Type:
- array