Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
551 stars 159 forks source link

Override file/class in child theme? #162

Closed pramodkharade closed 1 year ago

pramodkharade commented 5 years ago

Hi All, I have used the extension. it working fine but i need to customize the one of the class file i.e(jwt-authentication-for-wp-rest-api/public/class-jwt-auth-public.php) in child theme . To meet the business requirement. I have created folder structure in child theme but it wasn't work. -theme --child-theme ---functions.php ---jwt-authentication-for-wp-rest-api ----public -----class-jwt-auth-public.php

How i can override class with specific function. I want to modify this function: generate_token()

Help will be highly appreciated .