Call Custom Node to Function Editor
-
Hi I’m uploading to a custom directory for all the import but structure was a bit different
I want the uploads directory to be:
https://my-website.com/wp-content/uploads/my_uploads/user_uploads/$user_id/sample-file.pdf
where $user_id was a specific node inside the import file called {createdbyuserid[1]} or createdbyuserid[1]
I can make the import using the action reference from github, but how would we hook a specific node createdbyuserid[1] inside the $user_id variable? is it possible?
$user_id = node[1] or
$user_id = createdbyuserid[1]Can we place a specific node inside a variable in functions editor?
At current it was only making the $user_id path as /1/
I used the structure codes based on the github action-reference
Thanks
The topic ‘Call Custom Node to Function Editor’ is closed to new replies.