webberzone.dev Recent

Content_Exporter class Pro only

Content_Exporter

Content_Exporter class.

Namespace: WebberZone\Knowledge_Base\Pro\GitHub
Since: 3.1.0
Source: includes/github/class-content-exporter.php line 26

Methods

export()

Export a KB article as a Markdown string with YAML frontmatter.

Since: 3.1.0
Line: 36

public function export( int $post_id ): string;
TypeNameDescription
int$post_idPost ID.

Returns: string — Full .md file content, or empty string on failure.