0

I want to create a plugin, through that plugin user can publish new post, without using Wordpress post option. Is there any solution available?

3

1 Answer 1

0

If you want to publish a post from a Plugin, then you have to call the wp_insert_post() function, with the appropriate details of the new post that you want to create.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.