Viewing 1 replies (of 1 total)
  • I’m a bit of a noob and I haven’t tried it yet so sorry if this doesn’t help. I think you just have to modify the ‘delete’ line in this portion of the gravity-forms-update-post.php file to allow the delete button to appear:

    class GFUpdatePost
    {
      public $options = array(
        'request_id' => 'gform_post_id'
        ,'post_status' => 'default'
        ,'capabilities' => array(
          'update' => 'default'
          ,'delete' => 'disable'
        )
        ,'entries' => true
      );

    to:

    class GFUpdatePost
    {
      public $options = array(
        'request_id' => 'gform_post_id'
        ,'post_status' => 'default'
        ,'capabilities' => array(
          'update' => 'default'
          ,'delete' => 'enable'
        )
        ,'entries' => true
      );

    Hope it helps,
    Tom

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Gravity Forms – Update Post] Adding a delete button’ is closed to new replies.