• Marcomail

    (@marcomail)


    I see in wp 2.1 exist this action …i can call it when a post is saved through and XMLRPC application ? Is similar to publish_post action ?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.remarpro.com Admin

    The ‘xmlrpc_publish_post’ action is called just after ‘publish_post’ is, but only when a post is published via the xmlrpc method.

    Look at lines 672-674 of post.php and it’s fairly obvious.

    Thread Starter Marcomail

    (@marcomail)

    Otto i love you eheheh is possible include this action on wp 2.0.5 ?

    Thread Starter Marcomail

    (@marcomail)

    Why doesn’t work ?

    $post_content = sanitize_title($_POST['post_title']);
        $generatedtags = $utw->generateKeywords($post_content);
        $tags = $wpdb->escape($generatedtags);
    	$tags = explode(',',$tags);
    
    	$utw->SaveTags($postID, $tags);

    this script works with the action publish_post but not with xmlrpc_publish_post

    Samuel B

    (@samboll)

    Please quit bumping the topic and wait for the answer – it’s hardly ever immediate.

    Thread Starter Marcomail

    (@marcomail)

    ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘xmlrpc_publish_post’ is closed to new replies.