- This topic has 2 replies, 2 voices, and was last updated 4 years, 1 month ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore General Questions › Php function to create product
Tagged: add product, php function, shortcode
I want to add products uploaded from my client application. Is there any php function that lets me add product directly to wordpress.
Right now I have to add corresponding WP estore product manually from font end, although I can upload and create wordpress post for the product directly from my client application using my own php plugin.
Please let me know (resources to learn or implementation examples) how it can be implemented.
We don’t have any API for doing that. But perhaps, since you seem knowledgeable of PHP, you might be able to modify this existing addon we have; that imports product data from a CSV file. Does that help?
Thanks for the response..
Done by using the source of function wp_estore_product_management_menu().