Viewing 1 replies (of 1 total)
  • Hello, you will need to check 3 things:

    1 – does the ACF plugin trigger the transition_post_type https://codex.www.ads-software.com/Post_Status_Transitions#transition_post_status_Hook

    2 – if it does, then what is the status it provides when a post is published

    3 – then find the ACF post type and set it within the onesignal_include_post_filter like this, it should then trigger the push:

    <?php
    add_filter(‘onesignal_include_post’, ‘onesignal_include_post_filter’, 10, 3);
    function onesignal_include_post_filter($new_status, $old_status, $post) {
    if ($post->post_type == “Whatever_the_ACF_POST_TYPE_IS” && $new_status == “whatever_the_new_status_upon_publish”) {
    return true;
    }
    }

    If you need further assistance, please reach out to [email protected]

    Thanks

Viewing 1 replies (of 1 total)
  • The topic ‘ACF frontend form did not push notification’ is closed to new replies.