W3cubDocs

/WordPress

apply_filters( "pre_{$field}", mixed $value )

Filters the value of a specific post field before saving.

Description

The dynamic portion of the hook name, $field, refers to the post field name.

Parameters

$value

(mixed) Value of the post field.

Source

File: wp-includes/post.php

View on Trac

Changelog

Version Description
2.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/pre_field