• Resolved JustBruno

    (@justbruno)


    Does this plugin recognize any usage of the rest api so to not disable some unknown use that is essential to the running of the site? For example, I understand that Contact Form 7 and Yoast plugins use rest api, would they be shown so that they are not disabled?
    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor yikesitskevin

    (@yikesitskevin)

    Hi @justbruno,

    First, we’ve disabled the ability to interact with default WordPress post types for this very reason.

    Second, a CPT is turned on/off by enabling/disabling the show_in_rest flag. We respect a CPT’s original show_in_rest value. So if Yoast, for example, has a CPT that they communicate with via the REST API then it will have the show_in_rest flag and our plugin will show it as enabled by default. However, the user has the ability to turn this off so they could disable Yoast from using the REST API which could break the plugin.

    So by default this plugin should never restrict another plugin’s access but a user has the ability to change this.

    I hope that makes sense.

    Cheers,
    Kevin.

    Thread Starter JustBruno

    (@justbruno)

    Great, that’s the answer I was hoping for.
    Thanks for the quick response also!!

    Plugin Contributor yikesitskevin

    (@yikesitskevin)

    No problem! Cheers!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Recognize plugins using rest API’ is closed to new replies.