Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #40878, comment 4


Ignore:
Timestamp:
10/22/2017 12:42:12 PM (8 years ago)
Author:
schlessera
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #40878, comment 4

    initial v1  
    33The basic code works:
    44
    5 `menu-locations` endpoint:
     5'''`menu-locations` endpoint:'''
     6
    67This provides basic enumeration, direct access through their slug, as well as linking and embedding the attached menus.
     8
    79This is read-only, as the locations are defined in code, not stored in the database.
     10
    811[[Image(https://cl.ly/3K0t1E1e2a1p/Image%202017-10-22%20at%202.28.28%20PM.png)]]
    912
    10 `menus` endpoint:
     13'''`menus` endpoint:'''
     14
    1115Extension of the terms controller. Provides all terms functionality, with the addition of making the linked menu items embeddable, as this would be a common use case.
     16
    1217[[Image(https://cl.ly/0u3b172w1f0H/Image%202017-10-22%20at%202.31.59%20PM.png)]]
    1318
    14 `menu-items` endpoint:
     19'''`menu-items` endpoint:'''
     20
    1521Extension of the posts controller. Provides all posts functionality, with no customizations as of yet.
    1622Shows the associated menu in the `'menus'` property, which can also be queried: `menu-items/?menus=2`.
     23
    1724[[Image(https://cl.ly/0i0s3B2B0b11/Image%202017-10-22%20at%202.34.18%20PM.png)]]
    1825