A WordPress-centric search engine for devs and theme authors



{$field_no_prefix}_edit_pre ›

Since2.3.0
Deprecatedn/a
apply_filters( "{$field_no_prefix}_edit_pre", $value, $post_id )
Parameters: (2)
  • (mixed) $value Value of the post field.
    Required: Yes
  • (int) $post_id Post ID.
    Required: Yes
Defined at:
Codex:

Filters the value of a specific post field to edit.

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





Source

$value = apply_filters( "{$field_no_prefix}_edit_pre", $value, $post_id );