• Hi, i’d like to get all posts by api by /wp-json/wp/v2/posts and, it works. But into the response i don’t have the status :

    [0] => Array
    (
    [id] => 114
    [date] => 2017-02-24T18:24:00
    [date_gmt] => 2017-02-24T17:24:00
    [guid] => Array
    (
    [rendered] => https://mywebsite/?p=114
    )

    [modified] => 2017-02-16T10:30:27
    [modified_gmt] => 2017-02-16T09:30:27
    [slug] => new
    [type] => post
    [link] => https://mywebsite/?p=114
    [title] => Array
    (
    [rendered] => new
    )

    [content] => Array
    (
    [rendered] =>
    [protected] =>
    )

    [excerpt] => Array
    (
    [rendered] =>
    [protected] =>
    )

    [author] => 1
    [featured_media] => 0
    [comment_status] => open
    [ping_status] => open
    [sticky] =>
    [template] =>
    [format] => standard
    [meta] => Array
    (
    )

    [categories] => Array
    (
    [0] => 17
    )

    [tags] => Array
    (
    )

    [_links] => Array

    Is it a bug or i do something wrong?

    Thanks for your help !!!

    Steeve

  • The topic ‘Impossible to get POSTS status with /wp-json/wp/v2/posts’ is closed to new replies.