Indexable_Interface

Indexable_Interface provides a single method "generate_index_data".

The method is responsible for retrieving the data for the Indexer.

Table of Contents

generate_index_data()  : array<string|int, mixed>
Generate data for the indexer.

Methods

generate_index_data()

Generate data for the indexer.

public generate_index_data(array<string|int, mixed> $defaults, string $post_id) : array<string|int, mixed>
Parameters
$defaults : array<string|int, mixed>

default index values

$post_id : string

the ID of the post to index

Return values
array<string|int, mixed>

Search results