Plugin Directory

Changeset 2333762


Ignore:
Timestamp:
07/01/2020 08:44:04 PM (6 years ago)
Author:
gsayed786
Message:

Update REST API Endpoint

Location:
headless-cms/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • headless-cms/trunk/headless-cms.php

    r2333730 r2333762  
    88 * License:     GPL2
    99 * License URI: https://www.gnu.org/licenses/gpl-2.0.html
    10  * Version:     1.0
     10 * Version:     1.0.1
    1111 * Text Domain: headless-cms
    1212 *
  • headless-cms/trunk/inc/classes/class-home-page-api.php

    r2333730 r2333762  
    3838    protected function setup_hooks() {
    3939
    40         $this->route = '/imran';
     40        $this->route = '/home';
    4141
    4242        /**
     
    6767         */
    6868        register_rest_route(
    69             'rae/v2',
     69            'rae/v1',
    7070            $this->route,
    7171            [
Note: See TracChangeset for help on using the changeset viewer.