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.2

apply_filters('xmlrpc_default_revision_fields') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 4692
    4688
    4689
    4690
    4691
    4692
    4693
    4694
    4695
    4696
    4697
    4698
         * @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;
    }