Preview link in [wpuf_edit] page

This topic contains 1 reply and 2 voices, and was last updated by Tareq Hasan 10 years, 7 months ago
Viewing 1 Posts - 1 through 1 (of 1 total)
Author Posts
August 21, 2013 at 6:21 am 7237
Tareq Hasan Hi, I would like insert a preview link in the edit post page. How can I do this? Also I would like to add a delete post button Thanks
August 21, 2013 at 4:27 pm 7251
Tareq Hasan Tareq Hasan

Don’t forget to check the action hooks in documentation.

Example:
[php]
function wpufe_edit_preview( $form_id, $post_id ) {
// your preview and delete link
}

add_action( ‘wpuf_edit_post_form_bottom’, ‘wpufe_edit_preview’, 10, 2 );
[/php]

Viewing 1 Posts - 1 through 1 (of 1 total)