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



xmlrpc_default_posttype_fields › WordPress Filter Hooks

Da3.4.0
Deprecaton/a
› apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' )
Parametri: (2)
  • () fields An array of post type fields to retrieve. By default, contains 'labels', 'cap', and 'taxonomies'.
    Richiesto: Sì
  • () method The method name.
    Richiesto: Sì
Definito a:
Codex:

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





Sorgenti

$fields = apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' ), 'wp.getPostType' );