Clanbite

match_to_rest_array( WP_Post $post ): array<string, mixed>

Shape a match post for REST consumers and internal use.

public

Class: Kernowdev\Clanbite\Extensions\Matches

Parameters

$post (WP_Post) Required

Match post object.

Returns

array<string, mixed>

Defined in inc/extensions/matches/class-extension-matches.php