1. Home
  2. Docs
  3. WP User Frontend Pro
  4. Integrations
  5. Good Writer Checkify

Good Writer Checkify

Integration between Good Writer Checkify.

function gwc_add_post( $form_id, $post_id ) {

    if (!$post_id) {
        $post = new stdClass;
        $post->ID = 0;
        $post->post_title = '';
        $post = new WP_Post( $post );
    } else {
        $post = get_post( $post_id );
    }

    Good_Writer_Checkify_Options::gwc_print_div_carousel( $post );
}

add_action( 'wpuf_add_post_form_bottom', 'gwc_add_post', 10, 2 );
add_action( 'wpuf_edit_post_form_bottom', 'gwc_add_post', 10, 2 );

Was this article helpful to you?

How can we help?