PHP Class WC_Legacy_Payment_Token
Payment Tokens were introduced in 2.6.0 with create and update as methods.
Major CRUD changes occurred in 2.7, so these were deprecated (save and delete still work).
This legacy class is for backwards compatibility in case any code called ->read, ->update or ->create
directly on the object.
Afficher le fichier
Open project: woocommerce/woocommerce
Méthodes publiques
Méthode |
Description |
|
create ( ) |
Create a token. |
|
read ( $token_id ) |
Read a token by ID. |
|
update ( ) |
Update a token. |
|
Method Details
public read ( $token_id ) |