apply_filters( 'wp_insert_post_data', array $data, array $postarr )

Filters slashed post data just before it is inserted into the database.


Description


Parameters

$data

(array) An array of slashed post data.

$postarr

(array) An array of sanitized, but otherwise unmodified post data.


Top ↑

Source

File: wp-includes/post.php

View on Trac


Top ↑

Changelog

Version Description
2.7.0 Introduced.