KnowingArt_com
Member
Posted 3 months ago #
I would like to do something like this:
$someTitle = "Amazing Title";
$someText = "<h2>I want this published to my blog.</h2>";
publish($someTitle, $someText); // update mySQL, pingomatic, RSS, etc.
Figured I'd ask here before I rip apart wp-admin/post-new.php
KnowingArt_com
Member
Posted 3 months ago #
I saw this function "wp_publish_post( $post_id )" but it obviously doesn't create the post, and I'm not sure what it really does.
Does it update pingomatic?
Does it update the RSS feed?
Call me lazy, I just don't want to reinvent the wheel.