Un motore di ricerca WordPress per sviluppatori e autori di temi



postmeta_form_keys ›

Da4.4.0
Deprecaton/a
apply_filters( 'postmeta_form_keys', null, $post )
Parametri: (2)
  • (array|null) $keys Pre-defined meta keys to be used in place of a postmeta query. Default null.
    Richiesto:
  • (WP_Post) $post The current post object.
    Richiesto:
Definito a:
Codex:

Filters values for the meta key dropdown in the Custom Fields meta box.

Returning a non-null value will effectively short-circuit and avoid a potentially expensive query against postmeta.





Sorgenti

$keys = apply_filters( 'postmeta_form_keys', null, $post );