Skip to content

Added meta data and date settings at post creation#8

Open
fabienric wants to merge 2 commits intodphiffer:masterfrom
fabienric:master
Open

Added meta data and date settings at post creation#8
fabienric wants to merge 2 commits intodphiffer:masterfrom
fabienric:master

Conversation

@fabienric
Copy link

Added the parameters 'date' and 'meta' to the 'create_post' function.

  • The parameter is mapped to 'post_date' in Wordpress.
  • The parameter 'meta' contains an array of 'key' => 'value'. The Wordpress function 'update_post_meta' is called for each pair at post creation.

Added the parameter 'date' to the 'create_post' function.
The parameter is mapped to 'post_date' in Wordpress.
Added the parameter 'meta' which contains an array of 'key' => 'value'.
The Wordpress function 'update_post_meta' is called for each pair.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant