0
I have the need to send a parameter to mine plugin, this parameter is the folder path of that user.
Variable example:
$folder = /clientes/id_1/
$folder = /clintes/id_2/
$folder = /clientes/id_3/
These folders are generated automatically, each client has its own, here’s my problem, I need to send this variable with the folder path to my plugin save it in session but have no idea how to do that.
I had been trying an AJAX request, straight to the root file of my plugin by passing the variable $folder
by the method GET
, but it’s not working.
Note: I do not want to touch the files of Woordpress/ Woocommerce, I need to reuse the do_actions
of the files themselves to maintain Thema/WP updates.
Some context is missing here: who sends the parameter? how is your plugin receiving it?
– brasofilo