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



xmlrpc_default_post_fields › WordPress Filter Hooks

Da3.4.0
Deprecaton/a
› apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' )
Parametri: (2)
  • () fields An array of post fields to retrieve. By default, contains 'post', 'terms', and 'custom_fields'.
    Richiesto: Sì
  • () method Method name.
    Richiesto: Sì
Definito a:
Codex:

Filters the default post query fields used by the given XML-RPC method.





Sorgenti

$fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' );