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



xmlrpc_default_post_fields › Filtr WordPress Hooks

Od3.4.0
Przestarzałyn/a
› apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' )
Parametry: (2)
  • () fields An array of post fields to retrieve. By default, contains 'post', 'terms', and 'custom_fields'.
    Wymagane: Tak
  • () method Method name.
    Wymagane: Tak
Zdefiniowane na:
Codex:

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





Źródło

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