xmlrpc_default_revision_fields

xmlrpc_default_revision_fields

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('xmlrpc_default_revision_fields') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 4692
    			 * @param array  $field  An array of revision fields to retrieve. By default,
    			 *                       contains 'post_date' and 'post_date_gmt'.
    			 * @param string $method The method name.
    			 */
    			$fields = apply_filters( 'xmlrpc_default_revision_fields', array( 'post_date', 'post_date_gmt' ), 'wp.getRevisions' );
    		}
    
    		$user = $this->login( $username, $password );
    		if ( ! $user ) {
    			return $this->error;
    		}