• I did some customised REST API plugin for wordpress 4.6 versions. Its working perfectly, But wordpress 4.7 version not work my own customisation instead working default core REST functionality.

    For example,
    I changed namespace “wp/v2” to “api”. Its working in older version not in WP 4.7

Viewing 2 replies - 1 through 2 (of 2 total)
  • That is because the plugin has been merged into core in 4.7, so it uses that functionality instead. Development of the plugin is discontinued.

    Additionally, never hack a plugin (or core for that matter), you’ll lose your changes when an update happens anyway. If you’re going to change functionality, use a hook to change it.

    Thread Starter Gnanasekaran Loganathan

    (@gnanasekaran)

    Yes, I got it. I got the solution. I wrote custom endpoint instead of using core.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wordpress 4.7 with customised REST API plugin’ is closed to new replies.