Support » Plugin: WP REST API Controller » Fail to recognize acf/v3 cpt

  • Resolved mulli.bahr


    Fail to recognize existing acf/v3 custom post types.
    In the code you have:
    $this->rest_endpoint_base = esc_url( site_url( '/wp-json/wp/v2/' ) );

    Why is that? What am I missing?

Viewing 1 replies (of 1 total)
  • Plugin Contributor yikesitskevin


    Hi @mullibahr,

    I am not sure what your question is. esc_url( site_url( '/wp-json/wp/v2/' ) ); will evaluate to something like which is the REST API base endpoint for any API call.

    Do you have a CPT that is not showing up in the REST API?

    Let me know.


Viewing 1 replies (of 1 total)
  • The topic ‘Fail to recognize acf/v3 cpt’ is closed to new replies.