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;
| Type | Name | Description |
|---|---|---|
int | $post_id | Post ID. |
Returns: string — Full .md file content, or empty string on failure.