_wp_get_allowed_postdata


_wp_get_allowed_postdata ( $post_data = null )

Parameters:
  • (array) $post_data Array of post data. Defaults to the contents of $_POST.
Returns:
  • (object|bool) WP_Error on failure, true on success.
Defined at:

Description

Returns only allowed post data fields

Related Functions

_wp_translate_postdata, wp_reset_postdata, wp_get_single_post, get_postdata, wp_get_post_tags

Top Google Results

User discussions

wpseek mobile