This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Gravity Forms – Update Post

چۈشەندۈرۈش

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

ئورنىتىش

  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);

باھالاشلار

بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.

تۆھپىكار ۋە ئىجادكار

«Gravity Forms – Update Post» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.

تۆھپىكار

«Gravity Forms – Update Post» نى تىلىڭىزغا تەرجىمە قىلىڭ

ئىجادىيەتكە قىزىقامسىز؟

كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.

ئۆزگىرىش خاتىرىسى

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