WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about xmlrpc_default_posttype_fields

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-xmlrpc-server.php apply_filters 4546 /**
* Filters the default query fields used by the given XML-RPC method.
*
* @since 3.4.0
*
* @param array $fields An array of post type query fields for the given method.
* @param string $method The method name.
*/
wp-includes/class-wp-xmlrpc-server.php apply_filters 4603 /**
* Retrieves a post types
*
* @since 3.4.0
*
* @see get_post_types()
*
* @param array $args {
* Method arguments. Note: arguments must be ordered as documented.
*
* @type int $0 Blog ID (unused).
* @type string $1 Username.
* @type string $2 Password.
* @type array $3 Optional. Query arguments.
* @type array $4 Optional. Fields to fetch.
* }
* @return array|IXR_Error
*/

Hook Parameters

Parameter Type Name Description
array $fields An array of post type query fields for the given method.
string $method The method name.
array $fields An array of post type query fields for the given method.
string $method The method name.