wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



xmlrpc_default_posttype_fields › Filtr WordPress Hooks

Od3.4.0
Przestarzałyn/a
› apply_filters( 'xmlrpc_default_posttype_fields', array( 'labels', 'cap', 'taxonomies' )
Parametry: (2)
  • () fields An array of post type fields to retrieve. By default, contains 'labels', 'cap', and 'taxonomies'.
    Wymagane: Tak
  • () method The method name.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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