开发者

Wordpress - Create post with plugin

is it possible to create posts with a wordpress plugin by entering a title, content, category and custom field (important)? Somehow I can'开发者_JAVA技巧t find anything about it in the documentation: http://codex.wordpress.org/Plugin_API or on Google.

Thanks, Rik.


The function for doing that is wp_insert_post.

I've always found WordPress reference section a bit of a PITA to navigate. So you might want to bookmark this page - http://codex.wordpress.org/Function_Reference It has a list of all (most) of the available functions for WordPress.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜