Update MIGRATION.md
This commit is contained in:
parent
f6a7f02ed2
commit
972d953bd4
@ -106,6 +106,7 @@ function fictioneer_migrate_chapters( $query_args = [], $story_args = [], $previ
|
|||||||
|
|
||||||
// Associate chapter with story
|
// Associate chapter with story
|
||||||
update_post_meta( $post->ID, 'fictioneer_chapter_story', $story_id );
|
update_post_meta( $post->ID, 'fictioneer_chapter_story', $story_id );
|
||||||
|
fictioneer_set_chapter_story_parent( $post->ID, $story_id );
|
||||||
}
|
}
|
||||||
|
|
||||||
// Change post type to fcn_chapter (also triggers hooked actions and updates story)
|
// Change post type to fcn_chapter (also triggers hooked actions and updates story)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user