wzkb_github_post_import
Process a single Markdown file from the ZIP.
Type: action
Since: 3.1.0
Source: includes/admin/exim/class-markdown-importer.php line 213
Parameters
| Type | Name | Description |
|---|---|---|
Content_Importer |
$converter |
Markdown converter instance. |
string |
$zip_name |
Filename within the ZIP (used as slug fallback). |
string |
$content |
Raw file content. |
bool |
$overwrite |
Overwrite existing articles matched by slug. |
Usage
add_action( 'wzkb_github_post_import', function($converter, $zip_name, $content, $overwrite) {
// ...
} );