• Resolved Imageapedog

    (@apedog)


    • /html/v1
      • /html/v1/(?P<namespace>[\w\-\.]+)/(?P<template>[\w/\-\.]+)
      • /html/v1/(?P<template>[\w\-\.]+)
    • /hyperblocks/v1
      • /hyperblocks/v1/block-fields
      • /hyperblocks/v1/render-preview
      • /html/v1/(?P<namespace>[\w\-\.]+):(?P<template>[\w/\-\.]+)

    So I have these REST API routes appearing on the Disable REST API page. /hyperblocks/v1 is added by a plugin I have installed (HyperPress). And the /html/v1 route is added by my own plugin.

    Somehow one of the /html/v1 routes added by my plugin appears under the /hyperblocks/v1 route. It is added by a separate class/method than the first two /html/v1 routes. Both methods are hooked on rest_api_init .

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author ImageJeff Starr

    (@specialk)

    Glad to help. Are you sure that you have the correct forum? I ask because the free version of this plugin does not provide any settings page, nor does it display anything anywhere. It simply disables the WP REST API completely when the plugin is active.

    Thread Starter Imageapedog

    (@apedog)

    So sorry. I did get the wrong plugin. I was looking for Disable REST API– Which is a completely different plugin πŸ™

    Plugin Author ImageJeff Starr

    (@specialk)

    Ok no problem, cheers.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.