A WordPress-centric search engine for devs and theme authors



{$field}_pre ›

Since2.3.0
Deprecatedn/a
apply_filters( "{$field}_pre", $value )
Parameters:
  • (mixed) $value Value of the post field.
    Required: Yes
Defined at:
Codex:

Filters the value of a specific post field before saving.

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





Source

$value = apply_filters( "{$field}_pre", $value );