expresstechsoftware / product-questions-answers-for-woocommerce

WooCommerce product questions and answers.
0 stars 4 forks source link

Inbuilt hooks #4

Closed geek92sunny closed 2 years ago

geek92sunny commented 2 years ago

There are hooks this plugin inside the branch 'inbuilt-hooks', fetch hooks from that branch and add them in the new corresponding positions of the code in the followup commits.

geek92sunny commented 2 years ago

You have not added the filter for the login URL:
<a href="<?php echo $site_url.'/wp-login.php' ?>" class="ets-load-more">

And, had you checked all the mails for new answers, for changes in the answers and all others available?

ruchitamalviya commented 2 years ago

not checked mail for new answer i will check now and update soon.

geek92sunny commented 2 years ago
  1. Add a new action, which will run when the question is submitted on the frontend, it will receive the submitted question as the data.
  2. Add a new action which will run when question answers are updated at the backend, it will receive the complete data of QA array as the data.