Custom fields from class-wp-xmlrpc-server.php (1 post)

  1. cristiweb2
    Posted 4 years ago #


    I'm trying to add some posts by using a custom php file and I got stuck at custom fields.
    Everything works fine, I managed to insert title, content, tags, etc, except custom fields.

    I see from class-wp-xmlrpc-server.php,
    'custom_fields' => $this->get_custom_fields($entry['ID'])

    I want to add at key, a simple word, and on value, an image (eg. wp-content/upload/.....jpg).

Topic Closed

This topic has been closed to new replies.

About this Topic