xmlrpc_default_post_fields, array( post, terms, custom_fields
xmlrpc_default_post_fields, array( post, terms, custom_fields
Appears in: 7.0.3
Hook Type: filter
Displaying hooks found in version: 7.0.3apply_filters('xmlrpc_default_post_fields, array( post, terms, custom_fields') is found 2 times:
- /wp-includes/class-wp-xmlrpc-server.php line 1939
* @param array $fields An array of post fields to retrieve. By default, * contains 'post', 'terms', and 'custom_fields'. * @param string $method Method name. */ $fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPost' ); } $user = $this->login( $username, $password ); if ( ! $user ) { return $this->error; } - /wp-includes/class-wp-xmlrpc-server.php line 2000
if ( isset( $args[4] ) ) { $fields = $args[4]; } else { /** This action is documented in wp-includes/class-wp-xmlrpc-server.php */ $fields = apply_filters( 'xmlrpc_default_post_fields', array( 'post', 'terms', 'custom_fields' ), 'wp.getPosts' ); } $user = $this->login( $username, $password ); if ( ! $user ) { return $this->error; }