Title: Gravity Forms &#8211; Update Post
Author: Kevin Miller
Published: <strong>28. april, 2012</strong>
Last modified: 28. maj, 2012

---

Søg plugins

![](https://ps.w.org/gravity-forms-update-post/assets/banner-772x250.png?rev=537833)

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

![](https://s.w.org/plugins/geopattern-icon/gravity-forms-update-post_68a432.svg)

# Gravity Forms – Update Post

 Af [Kevin Miller](https://profiles.wordpress.org/p51labs/)

[Download](https://downloads.wordpress.org/plugin/gravity-forms-update-post.0.5.3.zip)

 * [Detaljer](https://da.wordpress.org/plugins/gravity-forms-update-post/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/gravity-forms-update-post/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/gravity-forms-update-post/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/gravity-forms-update-post/#developers)

 [Support](https://wordpress.org/support/plugin/gravity-forms-update-post/)

## Beskrivelse

Update or Delete Posts, Pages or Custom Post Types with Gravity Forms. Through a
variety of filters the form can be restricted to the author, use custom permissions,
take advantage of conditional fields, disable entries, override post status and 
more!

**NOTE: This is the first official release, test with your own data and if something
doesn’t work as expected send bugs to support@p51labs.com**

## Installation

 1. Upload the folder to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  How do I use it?

Simply embed a post form into a page with Gravity Forms and them pass a post id 
to the page via ‘gform_post_id’.

  Does it respect Capabilities

Yes.

  Will it save custom fields as unique

Yes, there is a checkbox you can check on each custom field you add to the form 
to have the field saved as unique.

  Are there any filters/options?

Yes, see the readme.txt file for example of hooks and filters that can be used

Use the default status of the post being edited
 function gform_update_post_status(
$status, $form) { return ‘inherit’; } add_filter(‘gform_update_post_status’, ‘gform_update_post_status’,
10, 2);

Disable Entries
 function gform_update_post_entries($status, $form) { return false;}
add_filter(‘gform_update_post_entries’, ‘gform_update_post_entries’, 10, 2);

Change the options for the plugin
 function gform_update_post_id($id) { $options[‘
request_id’] = ‘gform_post_id_special’;

    ```
      return $options;
    }
    add_filter('gform_update_post_id', 'gform_update_post_id');
    ```

Update Delete Button
 function gform_update_post_delete_button($button, $form) {
return ‘

‘ . $button . ‘

‘;
 } add_filter(‘gform_update_post_delete_button’, ‘gform_update_post_delete_button’,
10, 2);

Change the delete confirmation
 function gform_update_post_confirmation_delete($
confirmation) { return __(‘Ack, you deleted it… haha!’); } add_filter(‘gform_update_post_confirmation_delete’,‘
gform_update_post_confirmation_delete’, 10, 2);

## Anmeldelser

Der er ingen anmeldelser for denne widget.

## Bidragsydere & udviklere

“Gravity Forms – Update Post” er open source-software. Følgende personer har bidraget
til dette plugin.

Bidragsydere

 *   [ Kevin Miller ](https://profiles.wordpress.org/p51labs/)

[Oversæt “Gravity Forms – Update Post” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/gravity-forms-update-post)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/gravity-forms-update-post/),
tjek [SVN repository](https://plugins.svn.wordpress.org/gravity-forms-update-post/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/gravity-forms-update-post/)
via [RSS](https://plugins.trac.wordpress.org/log/gravity-forms-update-post/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 0.5.3

 * Custom Meta Fix

#### 0.5.2

 * Added banner-772×250.png

#### 0.5.1

 * Updated the FAQ on the readme.txt

#### 0.5

 * Initial Build

## Meta

 *  Version **0.5.3**
 *  Senest opdateret **14 år siden**
 *  Aktive installationer **70+**
 *  WordPress-version ** 2.9 eller højere **
 *  Testet op til **3.3.2**
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/gravity-forms-update-post/)
 * Tags
 * [edit](https://da.wordpress.org/plugins/tags/edit/)[forms](https://da.wordpress.org/plugins/tags/forms/)
   [GravityForms](https://da.wordpress.org/plugins/tags/gravityforms/)[update](https://da.wordpress.org/plugins/tags/update/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/gravity-forms-update-post/advanced/)

## Bedømmelser

Der er endnu ikke indsendt nogen anmeldelser.

[Your review](https://wordpress.org/support/plugin/gravity-forms-update-post/reviews/#new-post)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/gravity-forms-update-post/reviews/)

## Bidragsydere

 *   [ Kevin Miller ](https://profiles.wordpress.org/p51labs/)

## Support

Har du noget at sige? Har du brug for hjælp?

 [Vis supportforum](https://wordpress.org/support/plugin/gravity-forms-update-post/)

## Donér

Vil du gerne støtte udviklingen af dette plugin?

 [ Donér til dette plugin ](http://p51labs.com/)