_wp_translate_postdata Wordpress function


Description:

Rename $_POST data from form names to DB post columns.


Syntax:


Arguments:

(bool) $update Are we updating a pre-existing post?
(array) $post_data Array of post data. Defaults to the contents of $_POST.


Return Type:

(object|bool) WP_Error on failure, true on success.


Define At:

wp-admin/includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/_wp_translate_postdata


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×