• jrgd

    (@jrgd)


    can someone describe a bit how does xmlrpc_publish_post work? i’m searching the codex but couldn’t find any information. is it the same as publish_post?

    the plugin worls just fine when using publish_post and publishing from the wp-admin; nothing appears when publishing from the external client: Mars Edit 1.2.1

    basically i have a twitter updater plugin not firing when publishing from an external client. can anyone give a hand on this? or point to useful resources? thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Did you solve this problem?

    I’m trying to use it as follows:

    add_action(‘publish_post’, ‘wordbook_publish’);
    add_action(‘xmlrpc_publish_post’, ‘wordbook_publish’);

    The publish_post action works fine but the xmlrpc_publish_post doesn’t seem to fire when posting from blogdesk

    Thread Starter jrgd

    (@jrgd)

    nothing solved it; i gave up for now but let me know if you find anything useful

    Well I’ve tried all sorts of things and nothing works so I guess its actually a defunct hook which is a great pity because it would be a relly useful thing to have

    Joseph Scott

    (@josephscott)

    The xmlrpc_publish_post hook is fired as part of the _publish_post_hook() function, which is part of the default filters list for the publish_post action. So it should be firing.

    Steve

    (@steveatty)

    Oddly enough it works if I create a chunk of test code but when I use it for real it doesn’t seem to work at all

    Edit to add: I think I’ve found it!

    It doesn’t work if you call the same function!

    so

    add_action('xmlrpc_publish_post', 'wordbook_publish');
    add_action('publish_post', 'wordbook_publish');

    doesn’t work but

    add_action('xmlrpc_publish_post', 'wordbook_publish_xmlrpc');
    add_action('publish_post', 'wordbook_publish');

    does!

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