Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added meta data and date settings at post creation #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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