MCPcopy Index your code
hub / github.com/simstudioai/sim / extractTagNames

Function extractTagNames

apps/sim/connectors/wordpress/wordpress.ts:55–57  ·  view source on GitHub ↗

* Extracts tag names from a WordPress tags object.

(tags: Record<string, { name: string }>)

Source from the content-addressed store, hash-verified

53 * Extracts tag names from a WordPress tags object.
54 */
55function extractTagNames(tags: Record<string, { name: string }>): string[] {
56 return Object.values(tags).map((t) => t.name)
57}
58
59/**
60 * Converts a WordPress post to an ExternalDocument.

Callers 1

postToDocumentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected