apply_filters( 'ep_index_{document_type}_request_path', $path, $document_id, $document, $type ) → {string}
Filter Elasticsearch index document request path
Parameters:
Name | Type | Description |
---|---|---|
$path |
string | Path to index document |
$document_id |
int | Document ID |
$document |
array | Document to index |
$type |
string | Type of document |
- Since:
- 3.0
- Source:
Returns:
New path
- Type
- string