Home Disable Posting To WordPress REST API

    Disable Posting To WordPress REST API

    0

    This snippet prevents posting content to the WordPress REST API by validating that the method used is GET. It’s another example of how the WordPress rest_authentication_errors filter might be used.

    See also: Disable The WordPress Rest API.

    Shortt URL for this post: http://shor.tt/1XVt