wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



{$field}_pre › WordPress Filter Hooks

Da2.3.0
Deprecaton/a
› apply_filters( "{$field}_pre", $value )
Parametri:
  • () value Value of the post field.
    Richiesto: Sì
Definito a:
Codex:

Filters the value of a specific post field before saving.

Only applied to post fields with a name which is *not* prefixed with `post_`. The dynamic portion of the hook name, `$field`, refers to the post field name. Possible filter names include: - `ID_pre` - `comment_status_pre` - `ping_status_pre` - `to_ping_pre` - `pinged_pre` - `guid_pre` - `menu_order_pre` - `comment_count_pre`


Funzioni correlate: wp_richedit_pre, clean_pre, is_preview


Sorgenti

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