mirror of
https://github.com/10h30/wordpress-export-to-markdown.git
synced 2026-06-05 15:09:59 +09:00
6 lines
160 B
JavaScript
6 lines
160 B
JavaScript
// get author, without decoding
|
|
// WordPress doesn't allow funky characters in author names anyway
|
|
module.exports = (post) => {
|
|
return post.data.creator[0];
|
|
}
|