Good Writer Checkify
A- A+
Integration between Good Writer Checkify.
[php] 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 );
[/php]