• Resolved Jimako

    (@jimako)


    Hi, I am not sure if topic title is correct (not English native speaker) but we import custom post type manually with own php solution. Posting with button pressed is working (so configuration is correct) but is there way (to call some hook or anything) to publish created post directly (without pressing button?)
    If not when is your publishing automatically fired? Or only on button press? With manually inserted post I suppose some metas are needed for autopost new post. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    Hi @jimako,

    Thanks for your question. Yes, you should be able to run the following function and this will do a share to Google My Business for that particular post:


    wp_google_my_business_auto_publish_send_to_google_common($post_id);

    You will just need to replace $post_id with your actual post ID, whatever number or variable that might be. I hope that helps ??

    Thread Starter Jimako

    (@jimako)

    Yes, for sure. Thank you for your quick answer.

    Plugin Author Northern Beaches Websites

    (@northernbeacheswebsites)

    No worries!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘How to envoke posting manually?’ is closed to new replies.