WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #49146, comment 3


Ignore:
Timestamp:
03/08/2020 05:12:14 PM (3 months ago)
Author:
isuke01
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49146, comment 3

    initial v1  
    55frontend:
    66**mysite.com**
     7
     8I have tried to use
     9
     10{{{
     11add_filter( 'rest_url', 'fix_rest_url');
     12 
     13function fix_rest_url( $url ) {
     14    return $url;
     15}
     16}}}
     17
     18but this actually return correct url **mysite.com/wp-json**.
     19