dominic-ks / bdvs-password-reset

WordPress - Allow users to reset their password using a random code via the REST API
GNU General Public License v3.0
9 stars 3 forks source link

Add filter for custom route namespace. #5

Closed wpamitkumar closed 3 years ago

wpamitkumar commented 3 years ago

Addresses #4

Usage

add_filter( 'bdpwr_route_namespace' , function( $route_namespace ) { return 'xyz/v1'; }, 10 , 1 );

wpamitkumar commented 3 years ago

Hi @dominic-ks, Please review the PR. [#6 ]

dominic-ks commented 3 years ago

@wpamitkumar Hello, thanks for the PR. This needs to be added to two other files as well though:

And also to both readme files. You happy to do those?

wpamitkumar commented 3 years ago

@dominic-ks I fixed on both files and README files also. :)

dominic-ks commented 3 years ago

@wpamitkumar Awesome thanks for contributing! I've merged this into the master branch, got a few things I'm working on that I need to finish before I push the nest version to wp.org FYI.