bsearch_pre_index_content_parts
Filters extra text to append to the indexed content, recovered from raw content before block/shortcode processing.
Type: filter
Since: 4.4.0
Source: includes/custom-tables/class-sync-manager.php line 297
Parameters
| Type | Name | Description |
|---|---|---|
string[] |
$extra_parts |
Extra text fragments to append. |
string |
$content |
Raw post content, before block/shortcode processing. |
\WP_Post |
$post |
Post object. |
Usage
add_filter( 'bsearch_pre_index_content_parts', function($extra_parts, $content, $post) {
// ...
return $extra_parts;
} );